Skip to content

Commit

Permalink
feat(version/13_5_0): Add gamedefinitions and example replay
Browse files Browse the repository at this point in the history
  • Loading branch information
BloodyTakao committed Jun 13, 2024
1 parent 1bf60ea commit b38dee6
Show file tree
Hide file tree
Showing 93 changed files with 8,493 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<root>
<Properties>
</Properties>

<TempProperties>
<AccountReviverComponent__getAccountsCountdown/>
<AccountReviverComponent__accountsToRevive/>
<AccountReviverComponent__removedAccountsDBIDs/>
<AccountReviverComponent__reviverVaryID/>

<AccountReviverComponent__lockedAccountsWatcherUpdatePeriod/>
<AccountReviverComponent__lockedAccountsWatcherUpdateTimer/>
</TempProperties>

<Methods>
<setReloadSpeed>
<Args>
<speed>UINT8</speed>
</Args>
</setReloadSpeed>
</Methods>

<ofService>
<SuperService/>
</ofService>
</root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<root>
<BaseMethods>

<sendAchievements>
<Exposed/>
</sendAchievements>

<dev_resetAchievements>
<Exposed/>
</dev_resetAchievements>

<dev_earnAchievement>
<Arg>UINT64</Arg>
<Exposed/>
</dev_earnAchievement>

<dev_dropAchievementsEarnTime>
<Exposed/>
</dev_dropAchievementsEarnTime>

</BaseMethods>

<ofEntity>
<Account/>
</ofEntity>
</root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<root>
<ClientMethods>
<sendFullState>
<Arg>ZIPPED_BLOB</Arg>
<VariableLengthHeaderSize>
<WarnLevel>none</WarnLevel>
</VariableLengthHeaderSize>
</sendFullState>
<onDayChanged>
<Arg>ZIPPED_BLOB</Arg> <!-- Almanac progress -->
<VariableLengthHeaderSize>
<WarnLevel>none</WarnLevel>
</VariableLengthHeaderSize>
</onDayChanged>
<onAlmanacRewardLooted>
<Arg>UINT16</Arg>
<Arg>UINT8</Arg>
<Arg>BOOL</Arg>
</onAlmanacRewardLooted>
<onAlmanacEnded/>
</ClientMethods>
<BaseMethods>
<lootStage>
<Arg>UINT16</Arg>
<Arg>UINT8</Arg>
<Exposed/>
</lootStage>
</BaseMethods>
<ofEntity>
<Account/>
</ofEntity>
</root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<root>
<BaseMethods>
<uninstallBattleCards>
<Args>
<shipID> GAMEPARAMS_ID </shipID>
<slots> ARRAY<of>UINT8</of> </slots>
</Args>
<Exposed/>
</uninstallBattleCards>
</BaseMethods>
<ofEntity>
<Account/>
</ofEntity>
</root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<root>

<BaseMethods>
<buyBattlePass>
<Exposed/>
<Args>
<battlePassID> UINT16 </battlePassID>
<type> UINT8 </type>
</Args>
</buyBattlePass>
<claimReward>
<Exposed/>
<Args>
<battlePassID> UINT16 </battlePassID>
<level> UINT16 </level>
<rewardType> UINT8 </rewardType>
<index> UINT8 </index>
</Args>
<ReturnValues>
<result>BOOL</result>
</ReturnValues>
</claimReward>
<claimAllRewards>
<Exposed/>
<Args>
<battlePassID> UINT16 </battlePassID>
</Args>
<ReturnValues>
<result>BOOL</result>
</ReturnValues>
</claimAllRewards>
</BaseMethods>

<ClientMethods>
<startSyncDelay/>
<syncEmptyBattlePass/>
<onClaimFailed>
<Args>
<battlePassID> UINT16 </battlePassID>
<level> UINT16 </level>
<rewardType> UINT8 </rewardType>
</Args>
</onClaimFailed>
</ClientMethods>

<ofEntity>
<Account/>
</ofEntity>
</root>

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<root>
<BaseMethods>
</BaseMethods>

<ClientMethods>
</ClientMethods>

<ofEntity>
<Account/>
</ofEntity>
</root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@

<root>
<TempProperties>
<loginEnabled/>
<_pingAccountCounter/>
<_ControllerToAccountConnector__accountCheckVaryID/>
<_ControllerToAccountConnector__accountWaiter/>
<masterChanger/>
</TempProperties>

<BaseMethods>

<getReadyAccountMBox>
<Args>
<timeout>ENTITYAPI_TIMEOUT</timeout>
</Args>
<ReturnValues>
<Arg> MAILBOX </Arg>
</ReturnValues>
</getReadyAccountMBox>

<onAccountRestored>
<Args>
<accountMBox> MAILBOX </accountMBox>
</Args>
</onAccountRestored>

<performAccountLoad>
<Args>
<masterID>MASTER_ID</masterID>
<masterService>MAILBOX</masterService>
<loadArgs>ENTITY_LOAD_ARGS</loadArgs>
</Args>
<ReturnValues>
<mailbox> MAILBOX </mailbox>
</ReturnValues>
</performAccountLoad>

<onAccountDestroy>
<Args>
<rawAccountData> ZIPPED_BLOB </rawAccountData>
<destroyReason> UINT8 </destroyReason>
<masterChanger> MAILBOX </masterChanger>
</Args>
</onAccountDestroy>
</BaseMethods>

<ofEntity>
<AccountController/>
</ofEntity>
</root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<root>
<BaseMethods>
<applySeekerAction>
<Args>
<seekerType>UINT8</seekerType>
<seekerAction>UINT8</seekerAction>
<comment>UNICODE_STRING</comment>
</Args>
<Exposed/>
</applySeekerAction>

<getDivisions>
<Args>
<preBattleType>UINT8</preBattleType>
</Args>
<Exposed/>
</getDivisions>

<createDynamic>
<Args>
<preBattleType>UINT8</preBattleType>
<shipID>SHIP_ID</shipID>
<queueType>QUEUE_TYPE</queueType>
<eventID>GAMEPARAMS_ID</eventID>
<battleID>ARENA_UNIQUE_ID</battleID>
<clusterID>MASTER_ID</clusterID>
</Args>
<Exposed/>
</createDynamic>

<joinDynamic>
<Args>
<divisionID>ENTITY_ID</divisionID>
<shipID>SHIP_ID</shipID>
<isDummy>BOOL</isDummy>
</Args>
<Exposed/>
</joinDynamic>

<create>
<Args>
<preBattleType>UINT8</preBattleType>
<shipID>SHIP_ID</shipID>
<queueType>QUEUE_TYPE</queueType>
<eventID>GAMEPARAMS_ID</eventID>
<description>UNICODE_STRING</description>
</Args>
<Exposed/>
</create>

<join>
<Args>
<divisionID>ENTITY_ID</divisionID>
<shipID>SHIP_ID</shipID>
</Args>
<ReturnValues>
<resultCode>INT64</resultCode>
</ReturnValues>
<Exposed/>
</join>

<sendDivisionDumpByID>
<Args>
<divisionID>ENTITY_ID</divisionID>
<accountDBID>DB_ID</accountDBID>
</Args>
<Exposed/>
</sendDivisionDumpByID>

<rejectInvite>
<Args>
<divisionID>ENTITY_ID</divisionID>
</Args>
<Exposed/>
</rejectInvite>

<updateSeekerName>
<Args>
<dbid>DB_ID</dbid>
<name>UNICODE_STRING</name>
</Args>
<Exposed/>
</updateSeekerName>

<getDivisionInfo>
<Args>
<divisionID>ENTITY_ID</divisionID>
</Args>
<Exposed/>
</getDivisionInfo>

</BaseMethods>

<ClientMethods>
<onPassiveSeekingSet>
<Args>
<preBattleType>UINT8</preBattleType>
<action>UINT8</action>
<comment>STRING</comment>
</Args>
</onPassiveSeekingSet>
</ClientMethods>

<ofEntity>
<Account/>
</ofEntity>
</root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<root>
<BaseMethods>

<rejectInvite>
<Args>
<divisionID>ENTITY_ID</divisionID>
</Args>
<Exposed/>
</rejectInvite>

</BaseMethods>

<ofEntity>
<Avatar/>
</ofEntity>
</root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<root>
<BaseMethods>
<requestAuthToken>
<Exposed/>
<Args>
<requester> UINT8 </requester>
</Args>
</requestAuthToken>
</BaseMethods>
<ofEntity>
<Account/>
</ofEntity>
</root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<root>

<BaseMethods>
<dev_updateProgress>
<Exposed/>
<Args>
<points> UINT8 </points>
</Args>
</dev_updateProgress>
<dev_resetProgress>
<Exposed/>
</dev_resetProgress>
</BaseMethods>

<ClientMethods>
<sync>
<Arg> MSGPACK_BLOB </Arg>
</sync>
</ClientMethods>

<ofEntity>
<Account/>
</ofEntity>
</root>

Loading

0 comments on commit b38dee6

Please sign in to comment.