Пример #1
0
 public static Offset <PLAYER_DATA> CreatePLAYER_DATA(FlatBufferBuilder builder,
                                                      int ID = 0,
                                                      StringOffset NAMEOffset = default(StringOffset))
 {
     builder.StartObject(2);
     PLAYER_DATA.AddNAME(builder, NAMEOffset);
     PLAYER_DATA.AddID(builder, ID);
     return(PLAYER_DATA.EndPLAYER_DATA(builder));
 }
Пример #2
0
 public PLAYER_DATA GetDATA(PLAYER_DATA obj)
 {
     int o = __offset(4); return(o != 0 ? obj.__init(__indirect(o + bb_pos), bb) : null);
 }
Пример #3
0
 public PLAYER_DATA GetPLAYERDATAS(PLAYER_DATA obj, int j)
 {
     int o = __offset(6); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null);
 }
Пример #4
0
 public static PLAYER_DATA GetRootAsPLAYER_DATA(ByteBuffer _bb, PLAYER_DATA obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }