Пример #1
0
 public static Offset <InitialConnectCommand> CreateInitialConnectCommand(FlatBufferBuilder builder,
                                                                          Offset <PlayerInfo> playerOffset = default(Offset <PlayerInfo>))
 {
     builder.StartObject(1);
     InitialConnectCommand.AddPlayer(builder, playerOffset);
     return(InitialConnectCommand.EndInitialConnectCommand(builder));
 }
Пример #2
0
 public static InitialConnectCommand GetRootAsInitialConnectCommand(ByteBuffer _bb, InitialConnectCommand obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }