Files
caliverse_server/Protocol/proto/ServerMessage.proto
2025-05-01 07:20:41 +09:00

686 lines
16 KiB
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
syntax = "proto3";
import "google/protobuf/timestamp.proto";
import "Define_Common.proto";
import "Define_Result.proto";
import "Define_ProgramVersion.proto";
import "Game_Define.proto";
option java_multiple_files = true;
option java_package = "com.caliverse.admin.domain.RabbitMq.message";
message ServerMessage
{
message Chat {
ChatType type = 1;
string senderNickName = 2;
string receiverGuid = 3;
PlayerStateType receiverstate = 4;
string message = 5;
}
message KickReq {
int32 reqId = 1;
string name = 2;
}
message KickRes {
int32 reqId = 1;
ServerErrorCode errCode = 2;
string name = 3;
}
message GetServerConfigReq {
}
message GetServerConfigRes {
int32 serverType = 1;
int32 worldId = 2;
int32 region = 3;
}
message WhiteListUpdateNoti {
}
message BlackListUpdateNoti {
}
message InspectionReq {
int32 isInspection = 1;
}
message ReadyForDistroyReq {
int32 isReadyForDistroy = 1;
}
message ManagerServerActiveReq {
int32 isActive = 1;
}
message ManagerServerActiveRes {
int32 isActive = 1;
}
message ChangeServerConfigReq {
int32 maxUser = 1;
}
message AllKickNormalUserNoti {
}
message ReceiveMailNoti{
string accountGuid = 1;
}
message AwsAutoScaleGroupOptionReq {
int32 scaleOutPlusConstant = 1;
int32 scaleInCondition = 2;
int32 scaleOutCondition = 3;
string serverName = 4;
int32 groupMin = 5;
int32 groupCapacity = 6;
}
message AwsAutoScaleGroupOptionRes {
}
message ExchangeMannequinDisplayItemNoti{
string anchorGuid = 1;
repeated int32 displayItemIds = 2;
}
message SacleInfo{
string ServerGroupName = 1;
int32 MinSize = 2;
int32 CapaCity = 3;
}
message GetAwsAutoScaleOptionReq {
}
message GetAwsAutoScaleOptionRes {
int32 scaleOutPlusConstant = 1;
int32 scaleInCondition = 2;
int32 scaleOutCondition = 3;
repeated SacleInfo instanceInfoList = 4;
int32 isActive = 5;
}
message InviteFriendToMyHomeReq {
string inviterGuid = 1;
string inviterNickName = 2;
string inviterRoomId = 3;
}
message ToFiendNotiBase
{
string senderId = 1;
string senderGuid = 2;
string senderNickName = 3;
int32 senderState = 4;
int32 senderMapId = 5;
string receiverId = 6;
string receiverGuid = 7;
string receiverNickName = 8;
}
message InviteMyHomeBase
{
string senderId = 1;
string senderGuid = 2;
string senderNickName = 3;
//int32 senderState = 4;
//int32 senderMapId = 5;
string receiverId = 4;
string receiverGuid = 5;
string receiverNickName = 6;
}
message LoginNotiToFriend
{
ToFiendNotiBase baseInfo = 1;
UserLocationInfo locationInfo = 2;
}
message LogoutNotiToFriend
{
ToFiendNotiBase baseInfo = 1;
}
message StateNotiToFriend
{
ToFiendNotiBase baseInfo = 1;
UserLocationInfo locationInfo = 2;
}
message ReceiveInviteMyHomeNoti
{
InviteMyHomeBase baseInfo = 1;
string inviterMyHomeId = 2;
google.protobuf.Timestamp expireTime = 3;
google.protobuf.Timestamp replyExpireTime = 4;
string uniqueKey = 5;
}
message ReplyInviteMyhomeNoti
{
int32 acceptOrRefuse = 1;
string receiverId = 2;
string replyUserGuid = 3;
}
message KickFromFriendsHomeNoti
{
string kickerGuid = 1;
string kickerId = 2;
}
message FriendRequestInfo
{
string guid = 1;
string nickName = 2;
int32 isNew = 3;
google.protobuf.Timestamp requestTime = 4;
}
message FriendRequestNoti
{
FriendRequestInfo requestInfo = 1;
string receiverId = 2;
}
message FriendAcceptNoti
{
string senderId = 1;
string senderGuid = 2;
string senderNickName = 3;
int32 acceptOrRefuse = 4;
string receiverId = 5;
string receiverGuid = 6;
}
message FriendDeleteNoti
{
string senderId = 1;
string senderGuid = 2;
string senderNickName = 3;
string receiverId = 4;
string receiverGuid = 5;
}
message CancelFriendRequestNoti
{
string senderId = 1;
string senderGuid = 2;
string senderNickName = 3;
string receiverId = 4;
string receiverGuid = 5;
}
message KickedFromFriendsMyHomeNoti
{
}
message GS2GS_REQ_RESERVATION_ENTER_TO_SERVER
{
ServerMoveType moveType = 1;
string requestServerName = 2;
string requestUserGuid = 3;
string summonPartyGuid = 4;
}
message GS2GS_ACK_RESERVATION_ENTER_TO_SERVER
{
Result result = 1;
string reservationUserGuid = 2;
string reservationServerName = 3;
}
message GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER
{
string requestServerName = 1;
string requestUserGuid = 2;
}
message GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER
{
string requestUserGuid = 1;
}
message GS2GS_NTF_RETURN_USER_LOGOUT
{
string returnUserGuid = 1;
}
message GS2C_NTF_FRIEND_LEAVING_HOME
{
string guid = 1;
string nickName = 2;
string receiverId = 3;
}
message GS2C_NTF_PARTY_INFO
{
string partyGuid = 1;
repeated string partyMemberGuids = 2;
}
message GS2C_NTF_PARTY_CHAT
{
string partyGuid = 1;
string partySenderGuid = 2;
string partySenderNickname = 3;
string partySendMessage = 4;
}
message GS2C_NTF_PARTY_INVITE_RESULT
{
ServerErrorCode errorCode = 1;
string invitePartyGuid = 2;
string inviteHostGuid = 3;
string inviteUserGuid = 4;
}
message GS2C_NTF_DESTROY_PARTY
{
string destroyPartyGuid = 1;
}
message InvitePartyNoti {
string inviteUserGuid = 1;
string invitePartyLeaderGuid = 2;
string invitePartyGuid = 3;
}
message ReplyInvitePartyNoti {
string invitePartyGuid = 1;
string inviteUserGuid = 2;
string inviteUserNickname = 3;
BoolType result = 4;
}
message CreatePartyNoti {
string joinPartyMemberAccountId = 1;
string createPartyGuid = 2;
}
message JoinPartyMemberNoti {
string partyGuid = 1;
string joinPartyMemberInfo = 2;
}
message LeavePartyMemberNoti {
string partyGuid = 1;
string leavePartyUserGuid = 2;
BoolType isBan = 3;
}
message ChangePartyServerNameNoti {
string partyGuid = 1;
BoolType isAddition = 2;
string ServerName = 3;
}
message RemovePartyServerNameNoti {
string partyGuid = 1;
string removeServerName = 2;
}
message ChangePartyLeaderNoti {
string partyGuid = 1;
string newPartyLeaderGuid = 2;
}
message ExchangePartyNameNoti {
string partyGuid = 1;
string newPartyName = 2;
}
message JoiningPartyFlagResetNoti {
string targetAccountId = 1;
}
message ExchangePartyMemberMarkNoti {
string partyGuid = 1;
string memberUserGuid = 2;
int32 markId = 3;
}
message BanPartyNoti {
string partyGuid = 1;
string banMemberGuid = 2;
}
message SummonPartyMemberNoti {
string summonPartyGuid = 1;
string summonUserGuid = 2;
string summonServerName = 3;
Pos summonPos = 4;
}
message ReplySummonPartyMemberNoti {
string summonPartyGuid = 1;
string summonUserGuid = 2;
SummonPartyMemberResultType result = 3;
}
message NoticeChatNoti {
}
message SystemMailNoti {
}
message PartyVoteNoti {
string partyGuid = 1;
string voteTitle = 2;
google.protobuf.Timestamp voteStartTime = 3;
}
message ReplyPartyVoteNoti {
string partyGuid = 1;
string partyVoterGuid = 2;
VoteType vote = 3;
}
message PartyVoteResultNoti {
string partyGuid = 1;
string voteTitle = 2;
int32 resultTrue = 3;
int32 resultFalse = 4;
int32 abstain = 5;
}
message PartyInstanceInfoNoti {
string partyGuid = 1;
}
message SessionInfoNoti {
string instanceId = 1;
int32 sessionCount = 2;
int32 serverType = 3;
int32 worldId = 4;
}
message CancelSummonPartyMemberNoti {
string partyGuid = 1;
repeated string cancelSummonUserGuids = 2;
}
message PartyMemberLocationNoti {
string partyGuid = 1;
string partyMemberGuid = 2;
}
message GS2GS_NTF_CLEAR_PARTY_SUMMON {
string partyGuid = 1;
string memberUserGuid = 2;
}
message GS2GS_NTF_DELETE_PARTY_INVITE_SEND {
string partyGuid = 1;
string inviteUserGuid = 2;
}
message GS2GS_NTF_CRAFT_HELP {
string roomId = 1;
string anchor_guid = 2;
google.protobuf.Timestamp craftFinishTime = 3;
string ownerGuid = 4;
int32 ownerHelpedCount = 5;
string helpUserName = 6;
}
message GS2GS_NTF_EXCHANGE_MYHOME {
string roomId = 1;
string myhomeGuid = 2;
MyHomeInfo myhomeInfo = 3;
}
message GS2GS_NTF_UGC_NPC_RANK_REFRESH {
}
message GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM {
string roomId = 1;
string exceptUserGuid = 2;
}
message MOS2GS_NTF_USER_KICK
{
string userGuid = 1;
LogoutReasonType logoutReasonType = 2;
string kickReasonMsg = 3;
}
message MOS2GS_NTF_MAIL_SEND
{
string userGuid = 1;
string mailType = 2;
repeated MailItem itemList = 3;
repeated OperationSystemMessage title = 4;
repeated OperationSystemMessage msg = 5;
repeated OperationSystemMessage sender = 6;
}
message MOS2GS_NTF_NOTICE_CHAT
{
repeated string noticeType = 1;
repeated OperationSystemMessage chatMessage = 2;
repeated OperationSystemMessage sender = 3;
}
message GS2MQS_NTF_FARMING_END {
string userGuid = 1;
FarmingSummary farmingSummary = 5; // <20>Ĺ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
BoolType isApplyDb = 6; // Db <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
}
message GS2MQS_NTF_BEACON_COMPACT_SYNC {
string userGuid = 1;
UgcNpcCompact ugcNpcCompact = 5; // UgcNpc <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
string locatedInstanceGuid = 6; // <20><>ġ<EFBFBD><C4A1> instance Guid
}
message GS2GS_NTF_RENT_FLOOR
{
string exceptServerName = 1;
RentFloorRequestInfo rentFloorRequestInfo = 2;
int32 instanceMetaId = 3;
}
message GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS
{
string exceptServerName = 1;
repeated ModifyFloorLinkedInfo modifyFloorLinkedInfos = 2;
}
message OS2GS_REQ_CREATE_CALIUM_CONTENT_STORAGE
{
string requestServerName = 1;
string contentId = 2;
double calium = 3;
}
message OS2GS_ACK_CREATE_CALIUM_CONTENT_STORAGE
{
Result result = 1;
}
message GS2GS_NTF_CHANGE_CALIUM_STORAGE_INFO
{
}
message GS2GS_NTF_MODIFY_LAND_INFO
{
string exceptServerName = 1;
repeated LandInfo landInfos = 2;
}
message GS2GS_NTF_MODIFY_BUILDING_INFO
{
string exceptServerName = 1;
repeated BuildingInfo buildingInfos = 2;
}
message GS2GS_NTF_MODIFY_BUILDING_PROFIT
{
string exceptServerName = 1;
int32 buildingMetaId = 2;
map<int32, FloorProfitInfo> floorProfits = 3;
}
// <20><><EFBFBD><EFBFBD> to Other <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD> <20><><EFBFBD><EFBFBD> Delivery <20><><EFBFBD><EFBFBD> Packet ó<><C3B3> <20><><EFBFBD><EFBFBD> <20>߰<EFBFBD>
message GS2GS_NTF_LAND_AUCTION_HIGHEST_BIDDER_CHANGE
{
string receiverUserGuid = 1; // <20><>Ŷ <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ĺ<EFBFBD>Ű
BoolType hasReceivedRefundMail = 2; // ȯ<>ޱ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
int32 landMetaId = 3; // <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> LandData Meta Id
CurrencyType currencyType = 5; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȭ <20><><EFBFBD><EFBFBD>
double highestBidPrice = 6; // <20>ְ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
string highestBidUserGuid = 7; // <20>ְ<EFBFBD><D6B0><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ĺ<EFBFBD>Ű
string highestBidUserNickname = 8; // <20>ְ<EFBFBD><D6B0><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>г<EFBFBD><D0B3><EFBFBD>
}
message GS2GS_NTF_LAND_AUCTION_WINNING_BID
{
string winningUserGuid = 1; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ĺ<EFBFBD>Ű
string winningUserNickname = 2; // <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>г<EFBFBD><D0B3><EFBFBD>
int32 landMetaId = 5; // <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> LandData Meta Id
repeated int32 buildingMetaIds = 6; // <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><20><>ġ<EFBFBD><C4A1> BuildingData Meta Id <20><><EFBFBD><EFBFBD>
BoolType isNewRecvMail = 7; // <20><><EFBFBD>ο<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
}
message GS2GS_NTF_LAND_AUCTION_RESERVATION
{
repeated int32 toAddActivitings = 1; // Ȱ<><C8B0>ȭ <20><><EFBFBD>Ͽ<EFBFBD> <20>߰<EFBFBD><DFB0><EFBFBD> <20><><EFBFBD><EFBFBD> Meta Id
}
message GS2GS_NTF_ADD_BUILDING_PROFIT_HISTORY
{
string exceptServerName = 1;
int32 buildingMetaId = 2;
int32 floor = 3;
google.protobuf.Timestamp profitTime = 4;
ProfitHistoryType profitHistoryType = 5;
FloorProfitInfo floorProfit = 6;
}
message GS2GS_NTF_ADD_BUILDING_RENTAL_HISTORY
{
string exceptServerName = 1;
int32 buildingMetaId = 2;
int32 floor = 3;
string renteeUserGuid = 4;
google.protobuf.Timestamp rentalTime = 5;
int32 rentalPeriod = 6;
}
message GS2GS_NTF_UPDATE_SOLD_RECORD
{
string targetUserGuid = 1;
}
message GS2GS_NTF_UPDATE_BEACON_SHOP_ITEM
{
string targetUserGuid = 1;
string targetBeaconGuid = 2;
}
google.protobuf.Timestamp messageTime = 1;
string messageSender = 2;
oneof msg {
Chat chat = 3;
KickReq kickReq = 4;
KickRes kickRes = 5;
WhiteListUpdateNoti whiteListUpdateNoti = 7;
BlackListUpdateNoti blackListUpdateNoti = 8;
InspectionReq inspectionReq = 9;
ChangeServerConfigReq changeServerConfigReq = 10;
AllKickNormalUserNoti allKickNormalUserNoti = 11;
AwsAutoScaleGroupOptionReq awsAutoScaleGroupOptionReq = 12;
AwsAutoScaleGroupOptionRes awsAutoScaleGroupOptionRes = 13;
ReceiveMailNoti receiveMailNoti = 14;
ExchangeMannequinDisplayItemNoti exchangeMannequinDisplayItemNoti = 15;
GetAwsAutoScaleOptionReq getAwsAutoScaleOptionReq = 16;
GetAwsAutoScaleOptionRes getAwsAutoScaleOptionRes = 17;
ReadyForDistroyReq readyForDistroyReq = 18;
LoginNotiToFriend loginNotiToFriend = 19;
LogoutNotiToFriend logoutNotiToFriend = 20;
ManagerServerActiveReq managerServerActiveReq = 21;
ManagerServerActiveRes managerServerActiveRes = 22;
ReceiveInviteMyHomeNoti receiveInviteMyHomeNoti = 23;
ReplyInviteMyhomeNoti replyInviteMyhomeNoti = 24;
StateNotiToFriend stateNotiToFriend = 25;
FriendRequestNoti friendRequestNoti = 26;
FriendAcceptNoti friendAcceptNoti = 27;
FriendDeleteNoti friendDeleteNoti = 28;
CancelFriendRequestNoti cancelFriendRequestNoti = 29;
InvitePartyNoti invitePartyNoti = 30;
ReplyInvitePartyNoti replyInvitePartyNoti = 31;
JoinPartyMemberNoti joinPartyMemberNoti = 33;
LeavePartyMemberNoti leavePartyMemberNoti = 34;
ChangePartyServerNameNoti changePartyServerNameNoti = 35;
ChangePartyLeaderNoti changePartyLeaderNoti = 37;
ExchangePartyNameNoti exchangePartyNameNoti = 38;
ExchangePartyMemberMarkNoti exchangePartyMemberMarkNoti = 40;
BanPartyNoti banPartyNoti = 41;
SummonPartyMemberNoti summonPartyMemberNoti = 42;
ReplySummonPartyMemberNoti replySummonPartyMemberNoti = 43;
NoticeChatNoti noticeChatNoti = 44;
SystemMailNoti systemMailNoti = 45;
PartyVoteNoti partyVoteNoti = 46;
ReplyPartyVoteNoti replyPartyVoteNoti = 47;
PartyVoteResultNoti partyVoteResultNoti = 48;
PartyInstanceInfoNoti partyInstanceInfoNoti = 49;
SessionInfoNoti sessionInfoNoti = 50;
KickedFromFriendsMyHomeNoti kickedFromFriendsMyHomeNoti = 51;
CancelSummonPartyMemberNoti cancelSummonPartyMemberNoti = 53;
PartyMemberLocationNoti partyMemberLocationNoti = 54;
GS2C_NTF_FRIEND_LEAVING_HOME ntfFriendLeavingHome = 55;
GS2C_NTF_PARTY_INVITE_RESULT ntfInvitePartyRecvResult = 56;
GS2C_NTF_DESTROY_PARTY ntfDestroyParty = 57;
GS2GS_REQ_RESERVATION_ENTER_TO_SERVER reqReservationEnterToServer = 58;
GS2GS_ACK_RESERVATION_ENTER_TO_SERVER ackReservationEnterToServer= 59;
GS2C_NTF_PARTY_CHAT ntfPartyChat = 60;
GS2C_NTF_PARTY_INFO ntfPartyInfo = 61;
GS2GS_NTF_RETURN_USER_LOGOUT ntfReturnUserLogout = 62;
GS2GS_NTF_CLEAR_PARTY_SUMMON ntfClearPartySummon = 63;
GS2GS_NTF_CRAFT_HELP ntfCraftHelp = 64;
GS2GS_REQ_RESERVATION_CANCEL_TO_SERVER reqReservationCancelToServer = 65;
GS2GS_NTF_EXCHANGE_MYHOME ntfExchangeMyhome = 66;
GS2GS_NTF_UGC_NPC_RANK_REFRESH ntfUgcNpcRankRefresh = 67;
GS2GS_NTF_DELETE_PARTY_INVITE_SEND ntfDeletePartyInviteSend = 68;
GS2GS_NTF_MYHOME_HOST_ENTER_EDIT_ROOM ntfMyhomeHostEnterEditRoom = 69;
MOS2GS_NTF_USER_KICK ntfUserKick = 70;
MOS2GS_NTF_MAIL_SEND ntfMailSend = 71;
MOS2GS_NTF_NOTICE_CHAT ntfOperationSystemNoticeChat = 72;
GS2GS_ACK_RESERVATION_CANCEL_TO_SERVER ackReservationCancelToServer = 73;
GS2MQS_NTF_FARMING_END ntfFarmingEnd = 74;
GS2GS_NTF_RENT_FLOOR ntfRentFloor = 75;
GS2GS_NTF_MODIFY_FLOOR_LINKED_INFOS ntfModifyFloorLinkedInfos = 76;
GS2MQS_NTF_BEACON_COMPACT_SYNC ntfBeaconCompactSync = 77;
OS2GS_REQ_CREATE_CALIUM_CONTENT_STORAGE reqCreateContentStorage = 78;
OS2GS_ACK_CREATE_CALIUM_CONTENT_STORAGE ackCreateContentStorage = 79;
GS2GS_NTF_CHANGE_CALIUM_STORAGE_INFO ntfChangeCaliumStorageInfo = 80;
GS2GS_NTF_MODIFY_LAND_INFO ntfModifyLandInfo = 81;
GS2GS_NTF_MODIFY_BUILDING_INFO ntfModifyBuildingInfo = 82;
GS2GS_NTF_MODIFY_BUILDING_PROFIT ntfModifyBuildingProfit = 83;
GS2GS_NTF_LAND_AUCTION_HIGHEST_BIDDER_CHANGE ntfLandAuctionHighestBidderChange = 84;
GS2GS_NTF_LAND_AUCTION_WINNING_BID ntfLandAuctionWinningBid = 85;
GS2GS_NTF_LAND_AUCTION_RESERVATION ntfLandAuctionReservation = 86;
GS2GS_NTF_ADD_BUILDING_PROFIT_HISTORY ntfAddBuildingProfitHistory = 87;
GS2GS_NTF_ADD_BUILDING_RENTAL_HISTORY ntfAddBuildingRentalHistory = 88;
GS2GS_NTF_UPDATE_SOLD_RECORD ntfUpdateSoldRecord = 89;
GS2GS_NTF_UPDATE_BEACON_SHOP_ITEM ntfUpdateBeaconShopItem = 90;
}
}