| | |
| | | public void Export(BinaryWriter bw) |
| | | { |
| | | bw.Write(id); |
| | | Debug.LogFormat("id: {0}", id); |
| | | bw.Write(triggerList.Count); |
| | | Debug.LogFormat("triggerList.Count: {0}", triggerList.Count); |
| | | foreach (var _trigger in triggerList) |
| | | { |
| | | _trigger.Export(bw); |
| | | } |
| | | bw.Write(eventList.Count); |
| | | Debug.LogFormat("eventList.Count: {0}", eventList.Count); |
| | | foreach (var _event in eventList) |
| | | { |
| | | _event.Export(bw); |
| | | } |
| | | bw.Write(transferList.Count); |
| | | Debug.LogFormat("transferList.Count: {0}", transferList.Count); |
| | | foreach (var _transfer in transferList) |
| | | { |
| | | _transfer.Export(bw); |