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