Oombuu
Get Object of unknown type with unknown parameters from string
well, I suppose it doesnt have to be, String was the immediate data type I say that could represent all the other data types I'd need, and as an added bonus I can use it in the BinaryWriter to easily write these onjects to files (these are only going to be a small aprt of the actual file that is exported)
56 replies
Get Object of unknown type with unknown parameters from string
my intent is to be able to take:
and plug it into the constructor
and have it return the EftDamage object with parameters filled in, while also having the same code be able to handle taking
and plug it into
an return the EftDuration object with its parameters filled in.
All classes are in the same namespace and are children classes of the ActEffect class I'm writing this method in.
I'n not sure if my current code is on the right path or not.
56 replies