Example #1
0
 public static Offset <EnterMultiplayGameReq> CreateEnterMultiplayGameReq(FlatBufferBuilder builder,
                                                                          StringOffset accountIdOffset = default(StringOffset),
                                                                          StringOffset roomIDOffset    = default(StringOffset),
                                                                          StringOffset secretOffset    = default(StringOffset))
 {
     builder.StartObject(3);
     EnterMultiplayGameReq.AddSecret(builder, secretOffset);
     EnterMultiplayGameReq.AddRoomID(builder, roomIDOffset);
     EnterMultiplayGameReq.AddAccountId(builder, accountIdOffset);
     return(EnterMultiplayGameReq.EndEnterMultiplayGameReq(builder));
 }
Example #2
0
 public static EnterMultiplayGameReq GetRootAsEnterMultiplayGameReq(ByteBuffer _bb, EnterMultiplayGameReq obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }