Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update definition files for D3 build 7728
- Loading branch information
Showing
87 changed files
with
810 additions
and
404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
package D3.Profile; | ||
import "AttributeSerializer.proto"; | ||
import "Items.proto"; | ||
import "OnlineService.proto"; | ||
import "GBHandle.proto"; | ||
|
||
message ClassInfo { | ||
required uint64 playtime = 1; | ||
required uint32 highest_level = 2; | ||
required uint32 highest_difficulty = 3; | ||
} | ||
message SkillWithRune { | ||
required sfixed32 skill = 1 [default = -1]; | ||
optional sfixed32 rune = 2 [default = -1]; | ||
} | ||
message SkillsWithRunes { | ||
repeated .D3.Profile.SkillWithRune runes = 1; | ||
} | ||
message HeroProfile { | ||
optional uint64 monsters_killed = 1; | ||
optional uint64 elites_killed = 2; | ||
optional uint64 gold_collected = 3; | ||
optional uint32 highest_level = 4; | ||
optional uint32 highest_difficulty = 5; | ||
optional uint32 create_time = 6; | ||
optional bool hardcore = 7 [default = false]; | ||
optional uint32 attack = 8; | ||
optional uint32 precision = 9; | ||
optional uint32 defense = 10; | ||
optional uint32 vitality = 11; | ||
optional uint32 armor = 12; | ||
optional float dps = 13; | ||
optional uint32 resist_arcane = 14; | ||
optional uint32 resist_fire = 15; | ||
optional uint32 resist_lightning = 16; | ||
optional uint32 resist_poison = 17; | ||
optional uint32 resist_cold = 18; | ||
optional .D3.Items.ItemList equipment = 19; | ||
optional .D3.Profile.SkillsWithRunes sno_active_skills = 20; | ||
repeated sfixed32 sno_traits = 21; | ||
optional uint32 death_time = 22; | ||
optional .D3.GameBalance.Handle killer = 23; | ||
optional .D3.GameBalance.Handle kill_location = 24; | ||
optional string epitaph = 25; | ||
} | ||
message HeroProfileList { | ||
repeated .D3.Profile.HeroProfile heros = 1; | ||
} | ||
message AccountProfile { | ||
optional uint32 highest_difficulty = 1; | ||
optional uint32 highest_boss_difficulty_1 = 2; | ||
optional uint32 highest_boss_difficulty_2 = 3; | ||
optional uint32 highest_boss_difficulty_3 = 4; | ||
optional uint32 highest_boss_difficulty_4 = 5; | ||
optional uint64 monsters_killed = 6; | ||
optional uint64 elites_killed = 7; | ||
optional uint64 gold_collected = 8; | ||
optional uint64 highest_hardcore_level = 9; | ||
optional uint64 harcore_monsters_killed = 10; | ||
optional .D3.Profile.ClassInfo class_barbarian = 11; | ||
optional .D3.Profile.ClassInfo class_demonhunter = 12; | ||
optional .D3.Profile.ClassInfo class_monk = 13; | ||
optional .D3.Profile.ClassInfo class_witchdoctor = 14; | ||
optional .D3.Profile.ClassInfo class_wizard = 15; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package bnet.protocol.exchange; | ||
|
||
message PartitionId { | ||
required fixed64 high = 1; | ||
required fixed64 low = 2; | ||
} | ||
message BlobFrom { | ||
required fixed32 source = 1; | ||
required bytes data = 2; | ||
optional bytes extra_data = 3; | ||
} | ||
message BlobOfType { | ||
required string type = 1; | ||
optional bytes data = 2; | ||
optional bytes extra_data = 3; | ||
} | ||
message BlobFromOfType { | ||
required fixed32 source = 1; | ||
required string type = 2; | ||
required bytes data = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package bnet.protocol.exchange_risk; | ||
import "lib/protocol/exchange.proto"; | ||
|
||
message ReportAuthorizeRiskVerdictRequest { | ||
required .bnet.protocol.exchange.PartitionId partition_id = 1; | ||
required uint64 auth_id = 2; | ||
required uint64 result = 3; | ||
optional uint64 verdict = 4; | ||
} | ||
message ReportSettleRiskVerdictRequest { | ||
required .bnet.protocol.exchange.PartitionId partition_id = 1; | ||
required uint64 settle_id = 2; | ||
required uint64 result = 3; | ||
optional uint64 verdict = 4; | ||
} | ||
message DelaySettleRiskVerdictRequest { | ||
required .bnet.protocol.exchange.PartitionId partition_id = 1; | ||
required uint64 settle_id = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package bnet.protocol.challenge; | ||
import "lib/protocol/attribute.proto"; | ||
import "lib/protocol/entity.proto"; | ||
import "lib/rpc/rpc.proto"; | ||
|
||
message Challenge { | ||
required uint32 type = 1; | ||
optional string info = 2; | ||
optional string answer = 3; | ||
} | ||
message ChallengePickedRequest { | ||
required uint32 challenge = 1; | ||
} | ||
message ChallengeAnsweredRequest { | ||
required string answer = 1; | ||
} | ||
message SendChallengeToUserRequest { | ||
optional .bnet.protocol.ProcessId peer_id = 1; | ||
optional .bnet.protocol.EntityId game_account_id = 2; | ||
repeated .bnet.protocol.challenge.Challenge challenges = 3; | ||
} | ||
message SendChallengeToUserResponse { | ||
required .bnet.protocol.challenge.Challenge challenge = 1; | ||
} | ||
message ChallengeUserRequest { | ||
repeated .bnet.protocol.challenge.Challenge challenges = 1; | ||
} | ||
service ChallengeService { | ||
rpc ChallengePicked (.bnet.protocol.challenge.ChallengePickedRequest) returns (.bnet.protocol.NO_RESPONSE); | ||
rpc ChallengeAnswered (.bnet.protocol.challenge.ChallengeAnsweredRequest) returns (.bnet.protocol.NO_RESPONSE); | ||
rpc SendChallengeToUser (.bnet.protocol.challenge.SendChallengeToUserRequest) returns (.bnet.protocol.challenge.SendChallengeToUserResponse); | ||
} | ||
service ChallengeNotify { | ||
rpc ChallengeUser (.bnet.protocol.challenge.ChallengeUserRequest) returns (.bnet.protocol.NO_RESPONSE); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.