Пример #1
0
 public static Offset <ServerWorldState> CreateServerWorldState(FlatBufferBuilder builder,
                                                                uint tick = 0,
                                                                VectorOffset objectStatesOffset = default(VectorOffset))
 {
     builder.StartObject(2);
     ServerWorldState.AddObjectStates(builder, objectStatesOffset);
     ServerWorldState.AddTick(builder, tick);
     return(ServerWorldState.EndServerWorldState(builder));
 }
Пример #2
0
 public static ServerWorldState GetRootAsServerWorldState(ByteBuffer _bb, ServerWorldState obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }