Compare commits
3 Commits
11e986bcf2
...
2c132d5bc7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c132d5bc7 | ||
|
|
e0a39fb6c1 | ||
|
|
ccac464750 |
11
.github/workflows/android.yml
vendored
11
.github/workflows/android.yml
vendored
@@ -13,14 +13,23 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Cache Android NDK r14b
|
||||||
|
id: ndk-cache
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: C:\android-ndk-r14b
|
||||||
|
key: android-ndk-r14b
|
||||||
|
|
||||||
- name: Download Android NDK r14b
|
- name: Download Android NDK r14b
|
||||||
|
if: steps.ndk-cache.outputs.cache-hit != 'true'
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
Invoke-WebRequest `
|
Invoke-WebRequest `
|
||||||
-Uri "http://dl.google.com/android/repository/android-ndk-r14b-windows-x86_64.zip" `
|
-Uri "http://dl.google.com/android/repository/android-ndk-r14b-windows-x86_64.zip" `
|
||||||
-OutFile "ndk.zip"
|
-OutFile "ndk.zip"
|
||||||
|
|
||||||
- name: Extract NDK
|
- name: Extract Android NDK
|
||||||
|
if: steps.ndk-cache.outputs.cache-hit != 'true'
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
Expand-Archive ndk.zip C:\
|
Expand-Archive ndk.zip C:\
|
||||||
|
|||||||
@@ -66,7 +66,9 @@ public:
|
|||||||
|
|
||||||
void displayGameMessage(const std::string& message);
|
void displayGameMessage(const std::string& message);
|
||||||
private:
|
private:
|
||||||
|
/**
|
||||||
|
* @brief Send packet to all players
|
||||||
|
*/
|
||||||
void redistributePacket(Packet* packet, const RakNet::RakNetGUID& fromPlayer);
|
void redistributePacket(Packet* packet, const RakNet::RakNetGUID& fromPlayer);
|
||||||
Player* getPlayer(const RakNet::RakNetGUID& source);
|
Player* getPlayer(const RakNet::RakNetGUID& source);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user