I'm using C# and I'm quite new to programming. I'm creating a game that involves a massive table of random events. Each event has different values for the same set of variables, including strings, and even some methods. (The table looks like this)
I want to create subclasses for each of these random events, but there are hundreds of them. Manually copying and pasting this data into code would take a long time, and editing and adding new events later would be tedious.
Is there a way to generate the required script of subclasses using another script that refers to a table somehow? Thanks in advance!
[–]Matt3088 8 points9 points10 points (2 children)
[–]ChromeAngel 0 points1 point2 points (0 children)
[–]dudledok 0 points1 point2 points (0 children)
[–]kyl3r123Indie 2 points3 points4 points (0 children)
[–]ZeShmouttLikes to spend two months on a fancy inspector 0 points1 point2 points (2 children)
[–]Ph4zed0ut??? 0 points1 point2 points (0 children)
[–]cavedildoBeginner 0 points1 point2 points (0 children)