| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- using System.Collections.Generic;
- using TrueSync;
- namespace ET
- {
- [ChildOf]
- [ComponentOf]
- public class Room: Entity, IScene, IAwake, IUpdate
- {
- public SceneType SceneType { get; set; } = SceneType.Room;
- public string Name { get; set; }
-
- private EntityRef<LSWorld> lsWorld;
-
- public LSWorld LSWorld
- {
- get
- {
- return this.lsWorld;
- }
- set
- {
- this.AddChild(value);
- this.lsWorld = value;
- }
- }
- public long StartTime { get; set; }
- public FrameBuffer FrameBuffer { get; } = new();
- public FixedTimeCounter FixedTimeCounter { get; set; }
- public List<long> PlayerIds { get; } = new(LSConstValue.MatchCount);
-
- public int PredictionFrame { get; set; } = -1;
- public int RealFrame { get; set; } = -1;
- }
- }
|