예제 #1
0
 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));
 }
예제 #2
0
 public static LeaveMultiplayGameNotify GetRootAsLeaveMultiplayGameNotify(ByteBuffer _bb, LeaveMultiplayGameNotify obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }