mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-22 17:45:16 +00:00
some notes
This commit is contained in:
parent
22335a7df7
commit
dde481c8d8
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,7 @@ namespace HeavenStudio
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
//TODO: do this checking and conversion on load instead of at runtime
|
||||||
Minigames.Minigame game = EventCaller.instance.GetMinigame(datamodel.Split(0));
|
Minigames.Minigame game = EventCaller.instance.GetMinigame(datamodel.Split(0));
|
||||||
Minigames.GameAction action = EventCaller.instance.GetGameAction(game, datamodel.Split(1));
|
Minigames.GameAction action = EventCaller.instance.GetGameAction(game, datamodel.Split(1));
|
||||||
Minigames.Param param = EventCaller.instance.GetGameParam(game, datamodel.Split(1), propertyName);
|
Minigames.Param param = EventCaller.instance.GetGameParam(game, datamodel.Split(1), propertyName);
|
||||||
|
@ -215,6 +216,7 @@ namespace HeavenStudio
|
||||||
length = entity.length,
|
length = entity.length,
|
||||||
swing = entity.swing,
|
swing = entity.swing,
|
||||||
datamodel = entity.datamodel,
|
datamodel = entity.datamodel,
|
||||||
|
//TODO: only convert properties that actually exist in each GameAction
|
||||||
DynamicData = new Dictionary<string, dynamic>()
|
DynamicData = new Dictionary<string, dynamic>()
|
||||||
{
|
{
|
||||||
{ "valA", entity.valA },
|
{ "valA", entity.valA },
|
||||||
|
|
Loading…
Reference in a new issue