public static Offset <UdpMessages.ServerClientMessages.UserLeftRoomMessage> CreateUserLeftRoomMessage(FlatBufferBuilder builder, byte userIndex = 0) { builder.StartTable(1); UserLeftRoomMessage.AddUserIndex(builder, userIndex); return(UserLeftRoomMessage.EndUserLeftRoomMessage(builder)); }
public static UserLeftRoomMessage GetRootAsUserLeftRoomMessage(ByteBuffer _bb, UserLeftRoomMessage obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }