1
This commit is contained in:
parent
ef58abcb27
commit
dabecaffaf
@ -1,5 +1,7 @@
|
|||||||
#include "precompile.h"
|
#include "precompile.h"
|
||||||
|
|
||||||
|
#include <f8/coroutine.h>
|
||||||
|
|
||||||
#include "player.h"
|
#include "player.h"
|
||||||
|
|
||||||
void Player::Update()
|
void Player::Update()
|
||||||
@ -14,8 +16,10 @@ void Player::Init()
|
|||||||
|
|
||||||
void Player::CoNet(f8::Coroutine* co)
|
void Player::CoNet(f8::Coroutine* co)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
co->Await(CoLogin);
|
co->Await(CoLogin);
|
||||||
co->Await(CoGame);
|
co->Await(CoGame);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::CoLogin(f8::Coroutine* co)
|
void Player::CoLogin(f8::Coroutine* co)
|
||||||
|
@ -5,6 +5,11 @@ namespace a8
|
|||||||
class WebSocketClient;
|
class WebSocketClient;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace f8
|
||||||
|
{
|
||||||
|
class Coroutine;
|
||||||
|
}
|
||||||
|
|
||||||
A8_DECLARE_ENUM(PlayerState_e,
|
A8_DECLARE_ENUM(PlayerState_e,
|
||||||
Init = 0,
|
Init = 0,
|
||||||
ConnectNet,
|
ConnectNet,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user