Ejemplo n.º 1
0
    public MSB3.Event.WalkRoute Serialize(GameObject parent)
    {
        var evt = new MSB3.Event.WalkRoute(ID, parent.name);

        _Serialize(evt, parent);
        evt.UnkT00 = UnkT00;
        for (int i = 0; i < 32; i++)
        {
            if (i >= WalkPointNames.Length)
            {
                break;
            }
            evt.WalkPointNames[i] = (WalkPointNames[i] == "") ? null : WalkPointNames[i];
        }
        return(evt);
    }
Ejemplo n.º 2
0
    public override MSB3.Event Serialize(GameObject parent)
    {
        var evt = new MSB3.Event.WalkRoute(parent.name);

        _Serialize(evt, parent);
        evt.UnkT00 = UnkT00;
        for (int i = 0; i < 32; i++)
        {
            if (i >= WalkPointNames.Length)
            {
                evt.WalkPointNames[i] = null;
                continue;
            }
            evt.WalkPointNames[i] = (WalkPointNames[i] == "") ? null : WalkPointNames[i];
        }
        return(evt);
    }
Ejemplo n.º 3
0
 public void SetEvent(MSB3.Event.WalkRoute evt)
 {
     setBaseEvent(evt);
     UnkT00         = evt.UnkT00;
     WalkPointNames = evt.WalkPointNames;
 }