Fremko
❔ serilog problem
I am trying to log something to the console with fixed color, but i cant, basically i want to log data sent from server to the console with green color and data sent from client to the console with red client with level
verbose
but the problem is that i cant find a way to do it, all i can find is automatic templating that changes every word color13 replies
Store different structs in a list?
I have a world that have different types of items, each of these items have data and each type of item has his own struct, i am trying to loop through all the items in a world, but i dont understand how can i store different types of struct in a list.
like i cant add door struct in a window struct list, and if i make
List<object>
I would defeat the whole point of using struct to maintain efficiency as this would be stored on the heap33 replies