public static Offset <LeaveMultiplayGameNotify> CreateLeaveMultiplayGameNotify(FlatBufferBuilder builder, StringOffset accountIdOffset = default(StringOffset), StringOffset roomIDOffset = default(StringOffset)) { builder.StartObject(2); LeaveMultiplayGameNotify.AddRoomID(builder, roomIDOffset); LeaveMultiplayGameNotify.AddAccountId(builder, accountIdOffset); return(LeaveMultiplayGameNotify.EndLeaveMultiplayGameNotify(builder)); }
public static LeaveMultiplayGameNotify GetRootAsLeaveMultiplayGameNotify(ByteBuffer _bb, LeaveMultiplayGameNotify obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }