示例#1
0
 public static Offset <mainServer.schemas.FGameStarted.FGameStarted> CreateFGameStarted(FlatBufferBuilder builder,
                                                                                        StringOffset ipOffset = default(StringOffset),
                                                                                        int port = 0)
 {
     builder.StartTable(2);
     FGameStarted.AddPort(builder, port);
     FGameStarted.AddIp(builder, ipOffset);
     return(FGameStarted.EndFGameStarted(builder));
 }
示例#2
0
 public static FGameStarted GetRootAsFGameStarted(ByteBuffer _bb, FGameStarted obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }