|
|
|
|
@@ -160,16 +160,16 @@ namespace Fantasy
|
|
|
|
|
return (Game2C_GMResponse)await session.Call(C2Game_GMRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<Map2C_CreateRoomResponse> C2Map_CreateRoomRequest(this Session session, C2Map_CreateRoomRequest C2Map_CreateRoomRequest_request)
|
|
|
|
|
public static async FTask<Game2C_CreateRoomResponse> C2Game_CreateRoomRequest(this Session session, C2Game_CreateRoomRequest C2Game_CreateRoomRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (Map2C_CreateRoomResponse)await session.Call(C2Map_CreateRoomRequest_request);
|
|
|
|
|
return (Game2C_CreateRoomResponse)await session.Call(C2Game_CreateRoomRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<Map2C_CreateRoomResponse> C2Map_CreateRoomRequest(this Session session, int mapId)
|
|
|
|
|
public static async FTask<Game2C_CreateRoomResponse> C2Game_CreateRoomRequest(this Session session, int mapId)
|
|
|
|
|
{
|
|
|
|
|
using var C2Map_CreateRoomRequest_request = Fantasy.C2Map_CreateRoomRequest.Create();
|
|
|
|
|
C2Map_CreateRoomRequest_request.MapId = mapId;
|
|
|
|
|
return (Map2C_CreateRoomResponse)await session.Call(C2Map_CreateRoomRequest_request);
|
|
|
|
|
using var C2Game_CreateRoomRequest_request = Fantasy.C2Game_CreateRoomRequest.Create();
|
|
|
|
|
C2Game_CreateRoomRequest_request.MapId = mapId;
|
|
|
|
|
return (Game2C_CreateRoomResponse)await session.Call(C2Game_CreateRoomRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<G2C_ExitRoomResponse> C2G_ExitRoomRequest(this Session session, C2G_ExitRoomRequest C2G_ExitRoomRequest_request)
|
|
|
|
|
@@ -197,17 +197,17 @@ namespace Fantasy
|
|
|
|
|
return (G2C_EnterMapResponse)await session.Call(C2G_EnterMapRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_ChangeMap(this Session session, Map2C_ChangeMap Map2C_ChangeMap_message)
|
|
|
|
|
public static void Game2C_ChangeMap(this Session session, Game2C_ChangeMap Game2C_ChangeMap_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(Map2C_ChangeMap_message);
|
|
|
|
|
session.Send(Game2C_ChangeMap_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_ChangeMap(this Session session, int mapId, int node)
|
|
|
|
|
public static void Game2C_ChangeMap(this Session session, int mapId, int node)
|
|
|
|
|
{
|
|
|
|
|
using var Map2C_ChangeMap_message = Fantasy.Map2C_ChangeMap.Create();
|
|
|
|
|
Map2C_ChangeMap_message.MapId = mapId;
|
|
|
|
|
Map2C_ChangeMap_message.Node = node;
|
|
|
|
|
session.Send(Map2C_ChangeMap_message);
|
|
|
|
|
using var Game2C_ChangeMap_message = Fantasy.Game2C_ChangeMap.Create();
|
|
|
|
|
Game2C_ChangeMap_message.MapId = mapId;
|
|
|
|
|
Game2C_ChangeMap_message.Node = node;
|
|
|
|
|
session.Send(Game2C_ChangeMap_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<A2C_LoginResponse> C2A_LoginRequest(this Session session, C2A_LoginRequest C2A_LoginRequest_request)
|
|
|
|
|
@@ -259,400 +259,375 @@ namespace Fantasy
|
|
|
|
|
return (Game2C_GetRoleInfoResponse)await session.Call(C2Game_GetRoleInfoRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_RoleEnterRoomNotify(this Session session, Map2C_RoleEnterRoomNotify Map2C_RoleEnterRoomNotify_message)
|
|
|
|
|
public static void Game2C_RoleEnterRoomNotify(this Session session, Game2C_RoleEnterRoomNotify Game2C_RoleEnterRoomNotify_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(Map2C_RoleEnterRoomNotify_message);
|
|
|
|
|
session.Send(Game2C_RoleEnterRoomNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_RoleEnterRoomNotify(this Session session, MapUnitInfo info)
|
|
|
|
|
public static void Game2C_RoleEnterRoomNotify(this Session session, MapUnitInfo info)
|
|
|
|
|
{
|
|
|
|
|
using var Map2C_RoleEnterRoomNotify_message = Fantasy.Map2C_RoleEnterRoomNotify.Create();
|
|
|
|
|
Map2C_RoleEnterRoomNotify_message.Info = info;
|
|
|
|
|
session.Send(Map2C_RoleEnterRoomNotify_message);
|
|
|
|
|
using var Game2C_RoleEnterRoomNotify_message = Fantasy.Game2C_RoleEnterRoomNotify.Create();
|
|
|
|
|
Game2C_RoleEnterRoomNotify_message.Info = info;
|
|
|
|
|
session.Send(Game2C_RoleEnterRoomNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_RoleExitRoomNotify(this Session session, Map2C_RoleExitRoomNotify Map2C_RoleExitRoomNotify_message)
|
|
|
|
|
public static void Game2C_RoleExitRoomNotify(this Session session, Game2C_RoleExitRoomNotify Game2C_RoleExitRoomNotify_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(Map2C_RoleExitRoomNotify_message);
|
|
|
|
|
session.Send(Game2C_RoleExitRoomNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_RoleExitRoomNotify(this Session session, long id)
|
|
|
|
|
public static void Game2C_RoleExitRoomNotify(this Session session, long id)
|
|
|
|
|
{
|
|
|
|
|
using var Map2C_RoleExitRoomNotify_message = Fantasy.Map2C_RoleExitRoomNotify.Create();
|
|
|
|
|
Map2C_RoleExitRoomNotify_message.Id = id;
|
|
|
|
|
session.Send(Map2C_RoleExitRoomNotify_message);
|
|
|
|
|
using var Game2C_RoleExitRoomNotify_message = Fantasy.Game2C_RoleExitRoomNotify.Create();
|
|
|
|
|
Game2C_RoleExitRoomNotify_message.Id = id;
|
|
|
|
|
session.Send(Game2C_RoleExitRoomNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<Map2C_TakeItemResponse> C2Map_TakeItemRequest(this Session session, C2Map_TakeItemRequest C2Map_TakeItemRequest_request)
|
|
|
|
|
public static async FTask<Game2C_TakeItemResponse> C2Game_TakeItemRequest(this Session session, C2Game_TakeItemRequest C2Game_TakeItemRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (Map2C_TakeItemResponse)await session.Call(C2Map_TakeItemRequest_request);
|
|
|
|
|
return (Game2C_TakeItemResponse)await session.Call(C2Game_TakeItemRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<Map2C_TakeItemResponse> C2Map_TakeItemRequest(this Session session, int id, bool task)
|
|
|
|
|
public static async FTask<Game2C_TakeItemResponse> C2Game_TakeItemRequest(this Session session, int id, bool task)
|
|
|
|
|
{
|
|
|
|
|
using var C2Map_TakeItemRequest_request = Fantasy.C2Map_TakeItemRequest.Create();
|
|
|
|
|
C2Map_TakeItemRequest_request.Id = id;
|
|
|
|
|
C2Map_TakeItemRequest_request.Task = task;
|
|
|
|
|
return (Map2C_TakeItemResponse)await session.Call(C2Map_TakeItemRequest_request);
|
|
|
|
|
using var C2Game_TakeItemRequest_request = Fantasy.C2Game_TakeItemRequest.Create();
|
|
|
|
|
C2Game_TakeItemRequest_request.Id = id;
|
|
|
|
|
C2Game_TakeItemRequest_request.Task = task;
|
|
|
|
|
return (Game2C_TakeItemResponse)await session.Call(C2Game_TakeItemRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void C2Map_RolePropertyChange(this Session session, C2Map_RolePropertyChange C2Map_RolePropertyChange_message)
|
|
|
|
|
public static void C2Game_RolePropertyChange(this Session session, C2Game_RolePropertyChange C2Game_RolePropertyChange_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(C2Map_RolePropertyChange_message);
|
|
|
|
|
session.Send(C2Game_RolePropertyChange_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void C2Map_RolePropertyChange(this Session session, List<KeyValueInt64> propertys)
|
|
|
|
|
public static void C2Game_RolePropertyChange(this Session session, List<KeyValueInt64> propertys)
|
|
|
|
|
{
|
|
|
|
|
using var C2Map_RolePropertyChange_message = Fantasy.C2Map_RolePropertyChange.Create();
|
|
|
|
|
C2Map_RolePropertyChange_message.Propertys = propertys;
|
|
|
|
|
session.Send(C2Map_RolePropertyChange_message);
|
|
|
|
|
using var C2Game_RolePropertyChange_message = Fantasy.C2Game_RolePropertyChange.Create();
|
|
|
|
|
C2Game_RolePropertyChange_message.Propertys = propertys;
|
|
|
|
|
session.Send(C2Game_RolePropertyChange_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_RoleStateNotify(this Session session, Map2C_RoleStateNotify Map2C_RoleStateNotify_message)
|
|
|
|
|
public static void Game2C_RoleStateNotify(this Session session, Game2C_RoleStateNotify Game2C_RoleStateNotify_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(Map2C_RoleStateNotify_message);
|
|
|
|
|
session.Send(Game2C_RoleStateNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_RoleStateNotify(this Session session, long id, UnitStateInfo state)
|
|
|
|
|
public static void Game2C_RoleStateNotify(this Session session, long id, UnitStateInfo state)
|
|
|
|
|
{
|
|
|
|
|
using var Map2C_RoleStateNotify_message = Fantasy.Map2C_RoleStateNotify.Create();
|
|
|
|
|
Map2C_RoleStateNotify_message.Id = id;
|
|
|
|
|
Map2C_RoleStateNotify_message.State = state;
|
|
|
|
|
session.Send(Map2C_RoleStateNotify_message);
|
|
|
|
|
using var Game2C_RoleStateNotify_message = Fantasy.Game2C_RoleStateNotify.Create();
|
|
|
|
|
Game2C_RoleStateNotify_message.Id = id;
|
|
|
|
|
Game2C_RoleStateNotify_message.State = state;
|
|
|
|
|
session.Send(Game2C_RoleStateNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_RoleGearChangeNotify(this Session session, Map2C_RoleGearChangeNotify Map2C_RoleGearChangeNotify_message)
|
|
|
|
|
public static void Game2C_RoleGearChangeNotify(this Session session, Game2C_RoleGearChangeNotify Game2C_RoleGearChangeNotify_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(Map2C_RoleGearChangeNotify_message);
|
|
|
|
|
session.Send(Game2C_RoleGearChangeNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_RoleGearChangeNotify(this Session session, long id, List<GearInfo> gears)
|
|
|
|
|
public static void Game2C_RoleGearChangeNotify(this Session session, long id, List<GearInfo> gears)
|
|
|
|
|
{
|
|
|
|
|
using var Map2C_RoleGearChangeNotify_message = Fantasy.Map2C_RoleGearChangeNotify.Create();
|
|
|
|
|
Map2C_RoleGearChangeNotify_message.Id = id;
|
|
|
|
|
Map2C_RoleGearChangeNotify_message.Gears = gears;
|
|
|
|
|
session.Send(Map2C_RoleGearChangeNotify_message);
|
|
|
|
|
using var Game2C_RoleGearChangeNotify_message = Fantasy.Game2C_RoleGearChangeNotify.Create();
|
|
|
|
|
Game2C_RoleGearChangeNotify_message.Id = id;
|
|
|
|
|
Game2C_RoleGearChangeNotify_message.Gears = gears;
|
|
|
|
|
session.Send(Game2C_RoleGearChangeNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_RolePropertyChangeNotify(this Session session, Map2C_RolePropertyChangeNotify Map2C_RolePropertyChangeNotify_message)
|
|
|
|
|
public static void Game2C_RolePropertyChangeNotify(this Session session, Game2C_RolePropertyChangeNotify Game2C_RolePropertyChangeNotify_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(Map2C_RolePropertyChangeNotify_message);
|
|
|
|
|
session.Send(Game2C_RolePropertyChangeNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_RolePropertyChangeNotify(this Session session, long id, List<KeyValueInt64> propertys)
|
|
|
|
|
public static void Game2C_RolePropertyChangeNotify(this Session session, long id, List<KeyValueInt64> propertys)
|
|
|
|
|
{
|
|
|
|
|
using var Map2C_RolePropertyChangeNotify_message = Fantasy.Map2C_RolePropertyChangeNotify.Create();
|
|
|
|
|
Map2C_RolePropertyChangeNotify_message.Id = id;
|
|
|
|
|
Map2C_RolePropertyChangeNotify_message.Propertys = propertys;
|
|
|
|
|
session.Send(Map2C_RolePropertyChangeNotify_message);
|
|
|
|
|
using var Game2C_RolePropertyChangeNotify_message = Fantasy.Game2C_RolePropertyChangeNotify.Create();
|
|
|
|
|
Game2C_RolePropertyChangeNotify_message.Id = id;
|
|
|
|
|
Game2C_RolePropertyChangeNotify_message.Propertys = propertys;
|
|
|
|
|
session.Send(Game2C_RolePropertyChangeNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void C2Map_Move(this Session session, C2Map_Move C2Map_Move_message)
|
|
|
|
|
public static void C2Game_Move(this Session session, C2Game_Move C2Game_Move_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(C2Map_Move_message);
|
|
|
|
|
session.Send(C2Game_Move_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void C2Map_Move(this Session session, Vector3Info position, Vector3Info rotation, Vector3Info direction, bool isStop, bool isRun, long timestamp)
|
|
|
|
|
public static void C2Game_Move(this Session session, Vector3Info position, Vector3Info rotation, Vector3Info direction, bool isStop, bool isRun, long timestamp)
|
|
|
|
|
{
|
|
|
|
|
using var C2Map_Move_message = Fantasy.C2Map_Move.Create();
|
|
|
|
|
C2Map_Move_message.Position = position;
|
|
|
|
|
C2Map_Move_message.Rotation = rotation;
|
|
|
|
|
C2Map_Move_message.Direction = direction;
|
|
|
|
|
C2Map_Move_message.IsStop = isStop;
|
|
|
|
|
C2Map_Move_message.IsRun = isRun;
|
|
|
|
|
C2Map_Move_message.Timestamp = timestamp;
|
|
|
|
|
session.Send(C2Map_Move_message);
|
|
|
|
|
using var C2Game_Move_message = Fantasy.C2Game_Move.Create();
|
|
|
|
|
C2Game_Move_message.Position = position;
|
|
|
|
|
C2Game_Move_message.Rotation = rotation;
|
|
|
|
|
C2Game_Move_message.Direction = direction;
|
|
|
|
|
C2Game_Move_message.IsStop = isStop;
|
|
|
|
|
C2Game_Move_message.IsRun = isRun;
|
|
|
|
|
C2Game_Move_message.Timestamp = timestamp;
|
|
|
|
|
session.Send(C2Game_Move_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void C2Map_Look(this Session session, C2Map_Look C2Map_Look_message)
|
|
|
|
|
public static void C2Game_Look(this Session session, C2Game_Look C2Game_Look_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(C2Map_Look_message);
|
|
|
|
|
session.Send(C2Game_Look_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void C2Map_Look(this Session session, Vector3Info rotation, long timestamp)
|
|
|
|
|
public static void C2Game_Look(this Session session, Vector3Info rotation, long timestamp)
|
|
|
|
|
{
|
|
|
|
|
using var C2Map_Look_message = Fantasy.C2Map_Look.Create();
|
|
|
|
|
C2Map_Look_message.Rotation = rotation;
|
|
|
|
|
C2Map_Look_message.Timestamp = timestamp;
|
|
|
|
|
session.Send(C2Map_Look_message);
|
|
|
|
|
using var C2Game_Look_message = Fantasy.C2Game_Look.Create();
|
|
|
|
|
C2Game_Look_message.Rotation = rotation;
|
|
|
|
|
C2Game_Look_message.Timestamp = timestamp;
|
|
|
|
|
session.Send(C2Game_Look_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_MoveNotify(this Session session, Map2C_MoveNotify Map2C_MoveNotify_message)
|
|
|
|
|
public static void Game2C_MoveNotify(this Session session, Game2C_MoveNotify Game2C_MoveNotify_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(Map2C_MoveNotify_message);
|
|
|
|
|
session.Send(Game2C_MoveNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_MoveNotify(this Session session, long id, Vector3Info position, Vector3Info rotation, Vector3Info direction, bool isStop, bool isRun, long timestamp)
|
|
|
|
|
public static void Game2C_MoveNotify(this Session session, long id, Vector3Info position, Vector3Info rotation, Vector3Info direction, bool isStop, bool isRun, long timestamp)
|
|
|
|
|
{
|
|
|
|
|
using var Map2C_MoveNotify_message = Fantasy.Map2C_MoveNotify.Create();
|
|
|
|
|
Map2C_MoveNotify_message.Id = id;
|
|
|
|
|
Map2C_MoveNotify_message.Position = position;
|
|
|
|
|
Map2C_MoveNotify_message.Rotation = rotation;
|
|
|
|
|
Map2C_MoveNotify_message.Direction = direction;
|
|
|
|
|
Map2C_MoveNotify_message.IsStop = isStop;
|
|
|
|
|
Map2C_MoveNotify_message.IsRun = isRun;
|
|
|
|
|
Map2C_MoveNotify_message.Timestamp = timestamp;
|
|
|
|
|
session.Send(Map2C_MoveNotify_message);
|
|
|
|
|
using var Game2C_MoveNotify_message = Fantasy.Game2C_MoveNotify.Create();
|
|
|
|
|
Game2C_MoveNotify_message.Id = id;
|
|
|
|
|
Game2C_MoveNotify_message.Position = position;
|
|
|
|
|
Game2C_MoveNotify_message.Rotation = rotation;
|
|
|
|
|
Game2C_MoveNotify_message.Direction = direction;
|
|
|
|
|
Game2C_MoveNotify_message.IsStop = isStop;
|
|
|
|
|
Game2C_MoveNotify_message.IsRun = isRun;
|
|
|
|
|
Game2C_MoveNotify_message.Timestamp = timestamp;
|
|
|
|
|
session.Send(Game2C_MoveNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_LookeNotify(this Session session, Map2C_LookeNotify Map2C_LookeNotify_message)
|
|
|
|
|
public static void Game2C_LookeNotify(this Session session, Game2C_LookeNotify Game2C_LookeNotify_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(Map2C_LookeNotify_message);
|
|
|
|
|
session.Send(Game2C_LookeNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Map2C_LookeNotify(this Session session, long id, Vector3Info rotation, long timestamp)
|
|
|
|
|
public static void Game2C_LookeNotify(this Session session, long id, Vector3Info rotation, long timestamp)
|
|
|
|
|
{
|
|
|
|
|
using var Map2C_LookeNotify_message = Fantasy.Map2C_LookeNotify.Create();
|
|
|
|
|
Map2C_LookeNotify_message.Id = id;
|
|
|
|
|
Map2C_LookeNotify_message.Rotation = rotation;
|
|
|
|
|
Map2C_LookeNotify_message.Timestamp = timestamp;
|
|
|
|
|
session.Send(Map2C_LookeNotify_message);
|
|
|
|
|
using var Game2C_LookeNotify_message = Fantasy.Game2C_LookeNotify.Create();
|
|
|
|
|
Game2C_LookeNotify_message.Id = id;
|
|
|
|
|
Game2C_LookeNotify_message.Rotation = rotation;
|
|
|
|
|
Game2C_LookeNotify_message.Timestamp = timestamp;
|
|
|
|
|
session.Send(Game2C_LookeNotify_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_GetConversationsResponse> C2S_GetConversationsRequest(this Session session, C2S_GetConversationsRequest C2S_GetConversationsRequest_request)
|
|
|
|
|
public static async FTask<Game2C_GetConversationsResponse> C2Game_GetConversationsRequest(this Session session, C2Game_GetConversationsRequest C2Game_GetConversationsRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_GetConversationsResponse)await session.Call(C2S_GetConversationsRequest_request);
|
|
|
|
|
return (Game2C_GetConversationsResponse)await session.Call(C2Game_GetConversationsRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_GetConversationsResponse> C2S_GetConversationsRequest(this Session session)
|
|
|
|
|
public static async FTask<Game2C_GetConversationsResponse> C2Game_GetConversationsRequest(this Session session)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_GetConversationsRequest_request = Fantasy.C2S_GetConversationsRequest.Create();
|
|
|
|
|
return (S2C_GetConversationsResponse)await session.Call(C2S_GetConversationsRequest_request);
|
|
|
|
|
using var C2Game_GetConversationsRequest_request = Fantasy.C2Game_GetConversationsRequest.Create();
|
|
|
|
|
return (Game2C_GetConversationsResponse)await session.Call(C2Game_GetConversationsRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_SendMailResponse> C2S_SendMailRequest(this Session session, C2S_SendMailRequest C2S_SendMailRequest_request)
|
|
|
|
|
public static async FTask<Game2C_SendMailResponse> C2Game_SendMailRequest(this Session session, C2Game_SendMailRequest C2Game_SendMailRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_SendMailResponse)await session.Call(C2S_SendMailRequest_request);
|
|
|
|
|
return (Game2C_SendMailResponse)await session.Call(C2Game_SendMailRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_SendMailResponse> C2S_SendMailRequest(this Session session, long target, string content, List<AwardInfo> items)
|
|
|
|
|
public static async FTask<Game2C_SendMailResponse> C2Game_SendMailRequest(this Session session, long target, string content, List<AwardInfo> items)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_SendMailRequest_request = Fantasy.C2S_SendMailRequest.Create();
|
|
|
|
|
C2S_SendMailRequest_request.Target = target;
|
|
|
|
|
C2S_SendMailRequest_request.Content = content;
|
|
|
|
|
C2S_SendMailRequest_request.Items = items;
|
|
|
|
|
return (S2C_SendMailResponse)await session.Call(C2S_SendMailRequest_request);
|
|
|
|
|
using var C2Game_SendMailRequest_request = Fantasy.C2Game_SendMailRequest.Create();
|
|
|
|
|
C2Game_SendMailRequest_request.Target = target;
|
|
|
|
|
C2Game_SendMailRequest_request.Content = content;
|
|
|
|
|
C2Game_SendMailRequest_request.Items = items;
|
|
|
|
|
return (Game2C_SendMailResponse)await session.Call(C2Game_SendMailRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_DeleteMailResponse> C2S_DeleteMailRequest(this Session session, C2S_DeleteMailRequest C2S_DeleteMailRequest_request)
|
|
|
|
|
public static async FTask<Game2C_DeleteMailResponse> C2Game_DeleteMailRequest(this Session session, C2Game_DeleteMailRequest C2Game_DeleteMailRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_DeleteMailResponse)await session.Call(C2S_DeleteMailRequest_request);
|
|
|
|
|
return (Game2C_DeleteMailResponse)await session.Call(C2Game_DeleteMailRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_DeleteMailResponse> C2S_DeleteMailRequest(this Session session, long id)
|
|
|
|
|
public static async FTask<Game2C_DeleteMailResponse> C2Game_DeleteMailRequest(this Session session, long id)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_DeleteMailRequest_request = Fantasy.C2S_DeleteMailRequest.Create();
|
|
|
|
|
C2S_DeleteMailRequest_request.Id = id;
|
|
|
|
|
return (S2C_DeleteMailResponse)await session.Call(C2S_DeleteMailRequest_request);
|
|
|
|
|
using var C2Game_DeleteMailRequest_request = Fantasy.C2Game_DeleteMailRequest.Create();
|
|
|
|
|
C2Game_DeleteMailRequest_request.Id = id;
|
|
|
|
|
return (Game2C_DeleteMailResponse)await session.Call(C2Game_DeleteMailRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void S2C_HaveMail(this Session session, S2C_HaveMail S2C_HaveMail_message)
|
|
|
|
|
public static void Game2C_HaveMail(this Session session, Game2C_HaveMail Game2C_HaveMail_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(S2C_HaveMail_message);
|
|
|
|
|
session.Send(Game2C_HaveMail_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void S2C_HaveMail(this Session session, MailInfo mail, string key)
|
|
|
|
|
public static void Game2C_HaveMail(this Session session, MailInfo mail, string key)
|
|
|
|
|
{
|
|
|
|
|
using var S2C_HaveMail_message = Fantasy.S2C_HaveMail.Create();
|
|
|
|
|
S2C_HaveMail_message.Mail = mail;
|
|
|
|
|
S2C_HaveMail_message.Key = key;
|
|
|
|
|
session.Send(S2C_HaveMail_message);
|
|
|
|
|
using var Game2C_HaveMail_message = Fantasy.Game2C_HaveMail.Create();
|
|
|
|
|
Game2C_HaveMail_message.Mail = mail;
|
|
|
|
|
Game2C_HaveMail_message.Key = key;
|
|
|
|
|
session.Send(Game2C_HaveMail_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void S2C_MailState(this Session session, S2C_MailState S2C_MailState_message)
|
|
|
|
|
public static void Game2C_MailState(this Session session, Game2C_MailState Game2C_MailState_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(S2C_MailState_message);
|
|
|
|
|
session.Send(Game2C_MailState_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void S2C_MailState(this Session session, int mailState, long mailId)
|
|
|
|
|
public static void Game2C_MailState(this Session session, int mailState, long mailId)
|
|
|
|
|
{
|
|
|
|
|
using var S2C_MailState_message = Fantasy.S2C_MailState.Create();
|
|
|
|
|
S2C_MailState_message.MailState = mailState;
|
|
|
|
|
S2C_MailState_message.MailId = mailId;
|
|
|
|
|
session.Send(S2C_MailState_message);
|
|
|
|
|
using var Game2C_MailState_message = Fantasy.Game2C_MailState.Create();
|
|
|
|
|
Game2C_MailState_message.MailState = mailState;
|
|
|
|
|
Game2C_MailState_message.MailId = mailId;
|
|
|
|
|
session.Send(Game2C_MailState_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<Chat2C_SendMessageResponse> C2Chat_SendMessageRequest(this Session session, C2Chat_SendMessageRequest C2Chat_SendMessageRequest_request)
|
|
|
|
|
public static async FTask<Game2C_SendMessageResponse> C2Game_SendMessageRequest(this Session session, C2Game_SendMessageRequest C2Game_SendMessageRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (Chat2C_SendMessageResponse)await session.Call(C2Chat_SendMessageRequest_request);
|
|
|
|
|
return (Game2C_SendMessageResponse)await session.Call(C2Game_SendMessageRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<Chat2C_SendMessageResponse> C2Chat_SendMessageRequest(this Session session, ChatInfoTree chatInfoTree)
|
|
|
|
|
public static async FTask<Game2C_SendMessageResponse> C2Game_SendMessageRequest(this Session session, ChatInfoTree chatInfoTree)
|
|
|
|
|
{
|
|
|
|
|
using var C2Chat_SendMessageRequest_request = Fantasy.C2Chat_SendMessageRequest.Create();
|
|
|
|
|
C2Chat_SendMessageRequest_request.ChatInfoTree = chatInfoTree;
|
|
|
|
|
return (Chat2C_SendMessageResponse)await session.Call(C2Chat_SendMessageRequest_request);
|
|
|
|
|
using var C2Game_SendMessageRequest_request = Fantasy.C2Game_SendMessageRequest.Create();
|
|
|
|
|
C2Game_SendMessageRequest_request.ChatInfoTree = chatInfoTree;
|
|
|
|
|
return (Game2C_SendMessageResponse)await session.Call(C2Game_SendMessageRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Chat2C_Message(this Session session, Chat2C_Message Chat2C_Message_message)
|
|
|
|
|
public static void Game2C_Message(this Session session, Game2C_Message Game2C_Message_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(Chat2C_Message_message);
|
|
|
|
|
session.Send(Game2C_Message_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void Chat2C_Message(this Session session, ChatInfoTree chatInfoTree)
|
|
|
|
|
public static void Game2C_Message(this Session session, ChatInfoTree chatInfoTree)
|
|
|
|
|
{
|
|
|
|
|
using var Chat2C_Message_message = Fantasy.Chat2C_Message.Create();
|
|
|
|
|
Chat2C_Message_message.ChatInfoTree = chatInfoTree;
|
|
|
|
|
session.Send(Chat2C_Message_message);
|
|
|
|
|
using var Game2C_Message_message = Fantasy.Game2C_Message.Create();
|
|
|
|
|
Game2C_Message_message.ChatInfoTree = chatInfoTree;
|
|
|
|
|
session.Send(Game2C_Message_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_CreateChannelResponse> C2S_CreateChannelRequest(this Session session, C2S_CreateChannelRequest C2S_CreateChannelRequest_request)
|
|
|
|
|
public static async FTask<Game2C_CreateChannelResponse> C2Game_CreateChannelRequest(this Session session, C2Game_CreateChannelRequest C2Game_CreateChannelRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_CreateChannelResponse)await session.Call(C2S_CreateChannelRequest_request);
|
|
|
|
|
return (Game2C_CreateChannelResponse)await session.Call(C2Game_CreateChannelRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_CreateChannelResponse> C2S_CreateChannelRequest(this Session session, string name)
|
|
|
|
|
public static async FTask<Game2C_CreateChannelResponse> C2Game_CreateChannelRequest(this Session session, string name)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_CreateChannelRequest_request = Fantasy.C2S_CreateChannelRequest.Create();
|
|
|
|
|
C2S_CreateChannelRequest_request.Name = name;
|
|
|
|
|
return (S2C_CreateChannelResponse)await session.Call(C2S_CreateChannelRequest_request);
|
|
|
|
|
using var C2Game_CreateChannelRequest_request = Fantasy.C2Game_CreateChannelRequest.Create();
|
|
|
|
|
C2Game_CreateChannelRequest_request.Name = name;
|
|
|
|
|
return (Game2C_CreateChannelResponse)await session.Call(C2Game_CreateChannelRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_JoinChannelResponse> C2S_JoinChannelRequest(this Session session, C2S_JoinChannelRequest C2S_JoinChannelRequest_request)
|
|
|
|
|
public static async FTask<Game2C_JoinChannelResponse> C2Game_JoinChannelRequest(this Session session, C2Game_JoinChannelRequest C2Game_JoinChannelRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_JoinChannelResponse)await session.Call(C2S_JoinChannelRequest_request);
|
|
|
|
|
return (Game2C_JoinChannelResponse)await session.Call(C2Game_JoinChannelRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_JoinChannelResponse> C2S_JoinChannelRequest(this Session session, long target)
|
|
|
|
|
public static async FTask<Game2C_JoinChannelResponse> C2Game_JoinChannelRequest(this Session session, long target)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_JoinChannelRequest_request = Fantasy.C2S_JoinChannelRequest.Create();
|
|
|
|
|
C2S_JoinChannelRequest_request.Target = target;
|
|
|
|
|
return (S2C_JoinChannelResponse)await session.Call(C2S_JoinChannelRequest_request);
|
|
|
|
|
using var C2Game_JoinChannelRequest_request = Fantasy.C2Game_JoinChannelRequest.Create();
|
|
|
|
|
C2Game_JoinChannelRequest_request.Target = target;
|
|
|
|
|
return (Game2C_JoinChannelResponse)await session.Call(C2Game_JoinChannelRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_SendMessageResponse> C2S_SendMessageRequest(this Session session, C2S_SendMessageRequest C2S_SendMessageRequest_request)
|
|
|
|
|
public static async FTask<Game2C_CreateClubResponse> C2Game_CreateClubRequest(this Session session, C2Game_CreateClubRequest C2Game_CreateClubRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_SendMessageResponse)await session.Call(C2S_SendMessageRequest_request);
|
|
|
|
|
return (Game2C_CreateClubResponse)await session.Call(C2Game_CreateClubRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_SendMessageResponse> C2S_SendMessageRequest(this Session session, string message, long target)
|
|
|
|
|
public static async FTask<Game2C_CreateClubResponse> C2Game_CreateClubRequest(this Session session, string name)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_SendMessageRequest_request = Fantasy.C2S_SendMessageRequest.Create();
|
|
|
|
|
C2S_SendMessageRequest_request.Message = message;
|
|
|
|
|
C2S_SendMessageRequest_request.Target = target;
|
|
|
|
|
return (S2C_SendMessageResponse)await session.Call(C2S_SendMessageRequest_request);
|
|
|
|
|
using var C2Game_CreateClubRequest_request = Fantasy.C2Game_CreateClubRequest.Create();
|
|
|
|
|
C2Game_CreateClubRequest_request.Name = name;
|
|
|
|
|
return (Game2C_CreateClubResponse)await session.Call(C2Game_CreateClubRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void S2C_Message(this Session session, S2C_Message S2C_Message_message)
|
|
|
|
|
public static async FTask<Game2C_GetClubInfoResponse> C2Game_GetClubInfoRequest(this Session session, C2Game_GetClubInfoRequest C2Game_GetClubInfoRequest_request)
|
|
|
|
|
{
|
|
|
|
|
session.Send(S2C_Message_message);
|
|
|
|
|
return (Game2C_GetClubInfoResponse)await session.Call(C2Game_GetClubInfoRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void S2C_Message(this Session session, ChatMessageInfo msg)
|
|
|
|
|
public static async FTask<Game2C_GetClubInfoResponse> C2Game_GetClubInfoRequest(this Session session, long clubId)
|
|
|
|
|
{
|
|
|
|
|
using var S2C_Message_message = Fantasy.S2C_Message.Create();
|
|
|
|
|
S2C_Message_message.Msg = msg;
|
|
|
|
|
session.Send(S2C_Message_message);
|
|
|
|
|
using var C2Game_GetClubInfoRequest_request = Fantasy.C2Game_GetClubInfoRequest.Create();
|
|
|
|
|
C2Game_GetClubInfoRequest_request.ClubId = clubId;
|
|
|
|
|
return (Game2C_GetClubInfoResponse)await session.Call(C2Game_GetClubInfoRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_CreateClubResponse> C2S_CreateClubRequest(this Session session, C2S_CreateClubRequest C2S_CreateClubRequest_request)
|
|
|
|
|
public static async FTask<Game2C_GetMemberListResponse> C2Game_GetMemberListRequest(this Session session, C2Game_GetMemberListRequest C2Game_GetMemberListRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_CreateClubResponse)await session.Call(C2S_CreateClubRequest_request);
|
|
|
|
|
return (Game2C_GetMemberListResponse)await session.Call(C2Game_GetMemberListRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_CreateClubResponse> C2S_CreateClubRequest(this Session session, string name)
|
|
|
|
|
public static async FTask<Game2C_GetMemberListResponse> C2Game_GetMemberListRequest(this Session session, long clubId)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_CreateClubRequest_request = Fantasy.C2S_CreateClubRequest.Create();
|
|
|
|
|
C2S_CreateClubRequest_request.Name = name;
|
|
|
|
|
return (S2C_CreateClubResponse)await session.Call(C2S_CreateClubRequest_request);
|
|
|
|
|
using var C2Game_GetMemberListRequest_request = Fantasy.C2Game_GetMemberListRequest.Create();
|
|
|
|
|
C2Game_GetMemberListRequest_request.ClubId = clubId;
|
|
|
|
|
return (Game2C_GetMemberListResponse)await session.Call(C2Game_GetMemberListRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_GetClubInfoResponse> C2S_GetClubInfoRequest(this Session session, C2S_GetClubInfoRequest C2S_GetClubInfoRequest_request)
|
|
|
|
|
public static async FTask<Game2C_GetClubListResponse> C2Game_GetClubListRequest(this Session session, C2Game_GetClubListRequest C2Game_GetClubListRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_GetClubInfoResponse)await session.Call(C2S_GetClubInfoRequest_request);
|
|
|
|
|
return (Game2C_GetClubListResponse)await session.Call(C2Game_GetClubListRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_GetClubInfoResponse> C2S_GetClubInfoRequest(this Session session, long clubId)
|
|
|
|
|
public static async FTask<Game2C_GetClubListResponse> C2Game_GetClubListRequest(this Session session)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_GetClubInfoRequest_request = Fantasy.C2S_GetClubInfoRequest.Create();
|
|
|
|
|
C2S_GetClubInfoRequest_request.ClubId = clubId;
|
|
|
|
|
return (S2C_GetClubInfoResponse)await session.Call(C2S_GetClubInfoRequest_request);
|
|
|
|
|
using var C2Game_GetClubListRequest_request = Fantasy.C2Game_GetClubListRequest.Create();
|
|
|
|
|
return (Game2C_GetClubListResponse)await session.Call(C2Game_GetClubListRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_GetMemberListResponse> C2S_GetMemberListRequest(this Session session, C2S_GetMemberListRequest C2S_GetMemberListRequest_request)
|
|
|
|
|
public static async FTask<Game2C_JoinClubResponse> C2Game_JoinClubRequest(this Session session, C2Game_JoinClubRequest C2Game_JoinClubRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_GetMemberListResponse)await session.Call(C2S_GetMemberListRequest_request);
|
|
|
|
|
return (Game2C_JoinClubResponse)await session.Call(C2Game_JoinClubRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_GetMemberListResponse> C2S_GetMemberListRequest(this Session session, long clubId)
|
|
|
|
|
public static async FTask<Game2C_JoinClubResponse> C2Game_JoinClubRequest(this Session session, long clubId)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_GetMemberListRequest_request = Fantasy.C2S_GetMemberListRequest.Create();
|
|
|
|
|
C2S_GetMemberListRequest_request.ClubId = clubId;
|
|
|
|
|
return (S2C_GetMemberListResponse)await session.Call(C2S_GetMemberListRequest_request);
|
|
|
|
|
using var C2Game_JoinClubRequest_request = Fantasy.C2Game_JoinClubRequest.Create();
|
|
|
|
|
C2Game_JoinClubRequest_request.ClubId = clubId;
|
|
|
|
|
return (Game2C_JoinClubResponse)await session.Call(C2Game_JoinClubRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_GetClubListResponse> C2S_GetClubListRequest(this Session session, C2S_GetClubListRequest C2S_GetClubListRequest_request)
|
|
|
|
|
public static async FTask<Game2C_LeaveClubResponse> C2Game_LeaveClubRequest(this Session session, C2Game_LeaveClubRequest C2Game_LeaveClubRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_GetClubListResponse)await session.Call(C2S_GetClubListRequest_request);
|
|
|
|
|
return (Game2C_LeaveClubResponse)await session.Call(C2Game_LeaveClubRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_GetClubListResponse> C2S_GetClubListRequest(this Session session)
|
|
|
|
|
public static async FTask<Game2C_LeaveClubResponse> C2Game_LeaveClubRequest(this Session session, long clubId)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_GetClubListRequest_request = Fantasy.C2S_GetClubListRequest.Create();
|
|
|
|
|
return (S2C_GetClubListResponse)await session.Call(C2S_GetClubListRequest_request);
|
|
|
|
|
using var C2Game_LeaveClubRequest_request = Fantasy.C2Game_LeaveClubRequest.Create();
|
|
|
|
|
C2Game_LeaveClubRequest_request.ClubId = clubId;
|
|
|
|
|
return (Game2C_LeaveClubResponse)await session.Call(C2Game_LeaveClubRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_JoinClubResponse> C2S_JoinClubRequest(this Session session, C2S_JoinClubRequest C2S_JoinClubRequest_request)
|
|
|
|
|
public static async FTask<Game2C_DissolveClubResponse> C2Game_DissolveClubRequest(this Session session, C2Game_DissolveClubRequest C2Game_DissolveClubRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_JoinClubResponse)await session.Call(C2S_JoinClubRequest_request);
|
|
|
|
|
return (Game2C_DissolveClubResponse)await session.Call(C2Game_DissolveClubRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_JoinClubResponse> C2S_JoinClubRequest(this Session session, long clubId)
|
|
|
|
|
public static async FTask<Game2C_DissolveClubResponse> C2Game_DissolveClubRequest(this Session session, long clubId)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_JoinClubRequest_request = Fantasy.C2S_JoinClubRequest.Create();
|
|
|
|
|
C2S_JoinClubRequest_request.ClubId = clubId;
|
|
|
|
|
return (S2C_JoinClubResponse)await session.Call(C2S_JoinClubRequest_request);
|
|
|
|
|
using var C2Game_DissolveClubRequest_request = Fantasy.C2Game_DissolveClubRequest.Create();
|
|
|
|
|
C2Game_DissolveClubRequest_request.ClubId = clubId;
|
|
|
|
|
return (Game2C_DissolveClubResponse)await session.Call(C2Game_DissolveClubRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_LeaveClubResponse> C2S_LeaveClubRequest(this Session session, C2S_LeaveClubRequest C2S_LeaveClubRequest_request)
|
|
|
|
|
public static async FTask<Game2C_DisposeJoinResponse> C2Game_DisposeJoinRequest(this Session session, C2Game_DisposeJoinRequest C2Game_DisposeJoinRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_LeaveClubResponse)await session.Call(C2S_LeaveClubRequest_request);
|
|
|
|
|
return (Game2C_DisposeJoinResponse)await session.Call(C2Game_DisposeJoinRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_LeaveClubResponse> C2S_LeaveClubRequest(this Session session, long clubId)
|
|
|
|
|
public static async FTask<Game2C_DisposeJoinResponse> C2Game_DisposeJoinRequest(this Session session, long clubId, long applicantId, int agree)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_LeaveClubRequest_request = Fantasy.C2S_LeaveClubRequest.Create();
|
|
|
|
|
C2S_LeaveClubRequest_request.ClubId = clubId;
|
|
|
|
|
return (S2C_LeaveClubResponse)await session.Call(C2S_LeaveClubRequest_request);
|
|
|
|
|
using var C2Game_DisposeJoinRequest_request = Fantasy.C2Game_DisposeJoinRequest.Create();
|
|
|
|
|
C2Game_DisposeJoinRequest_request.ClubId = clubId;
|
|
|
|
|
C2Game_DisposeJoinRequest_request.ApplicantId = applicantId;
|
|
|
|
|
C2Game_DisposeJoinRequest_request.Agree = agree;
|
|
|
|
|
return (Game2C_DisposeJoinResponse)await session.Call(C2Game_DisposeJoinRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_DissolveClubResponse> C2S_DissolveClubRequest(this Session session, C2S_DissolveClubRequest C2S_DissolveClubRequest_request)
|
|
|
|
|
public static void Game2C_ClubChange(this Session session, Game2C_ClubChange Game2C_ClubChange_message)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_DissolveClubResponse)await session.Call(C2S_DissolveClubRequest_request);
|
|
|
|
|
session.Send(Game2C_ClubChange_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_DissolveClubResponse> C2S_DissolveClubRequest(this Session session, long clubId)
|
|
|
|
|
public static void Game2C_ClubChange(this Session session, ClubInfo club, int changeType)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_DissolveClubRequest_request = Fantasy.C2S_DissolveClubRequest.Create();
|
|
|
|
|
C2S_DissolveClubRequest_request.ClubId = clubId;
|
|
|
|
|
return (S2C_DissolveClubResponse)await session.Call(C2S_DissolveClubRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_DisposeJoinResponse> C2S_DisposeJoinRequest(this Session session, C2S_DisposeJoinRequest C2S_DisposeJoinRequest_request)
|
|
|
|
|
{
|
|
|
|
|
return (S2C_DisposeJoinResponse)await session.Call(C2S_DisposeJoinRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static async FTask<S2C_DisposeJoinResponse> C2S_DisposeJoinRequest(this Session session, long clubId, long applicantId, int agree)
|
|
|
|
|
{
|
|
|
|
|
using var C2S_DisposeJoinRequest_request = Fantasy.C2S_DisposeJoinRequest.Create();
|
|
|
|
|
C2S_DisposeJoinRequest_request.ClubId = clubId;
|
|
|
|
|
C2S_DisposeJoinRequest_request.ApplicantId = applicantId;
|
|
|
|
|
C2S_DisposeJoinRequest_request.Agree = agree;
|
|
|
|
|
return (S2C_DisposeJoinResponse)await session.Call(C2S_DisposeJoinRequest_request);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void S2C_ClubChange(this Session session, S2C_ClubChange S2C_ClubChange_message)
|
|
|
|
|
{
|
|
|
|
|
session.Send(S2C_ClubChange_message);
|
|
|
|
|
}
|
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
|
|
|
public static void S2C_ClubChange(this Session session, ClubInfo club, int changeType)
|
|
|
|
|
{
|
|
|
|
|
using var S2C_ClubChange_message = Fantasy.S2C_ClubChange.Create();
|
|
|
|
|
S2C_ClubChange_message.Club = club;
|
|
|
|
|
S2C_ClubChange_message.ChangeType = changeType;
|
|
|
|
|
session.Send(S2C_ClubChange_message);
|
|
|
|
|
using var Game2C_ClubChange_message = Fantasy.Game2C_ClubChange.Create();
|
|
|
|
|
Game2C_ClubChange_message.Club = club;
|
|
|
|
|
Game2C_ClubChange_message.ChangeType = changeType;
|
|
|
|
|
session.Send(Game2C_ClubChange_message);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|