Esempio n. 1
0
 public static Offset <TransferPlayerCommand> CreateTransferPlayerCommand(FlatBufferBuilder builder,
                                                                          Offset <PlayerInfo> playerOffset = default(Offset <PlayerInfo>))
 {
     builder.StartObject(1);
     TransferPlayerCommand.AddPlayer(builder, playerOffset);
     return(TransferPlayerCommand.EndTransferPlayerCommand(builder));
 }
Esempio n. 2
0
 public static TransferPlayerCommand GetRootAsTransferPlayerCommand(ByteBuffer _bb, TransferPlayerCommand obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }