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