1
This commit is contained in:
parent
b9dae07be7
commit
0bf0c57cc2
@ -119,7 +119,7 @@ static void GSListeneron_error(a8::TcpListener*, int type, int errorid)
|
||||
void GCListener::Init()
|
||||
{
|
||||
tcp_listener_ = std::make_shared<a8::TcpListener>();
|
||||
tcp_listener_->RegisterSessionClass<GCClientSession>();
|
||||
tcp_listener_->RegisterSessionClass<GCClientSession>(1024 * 64 * 2);
|
||||
tcp_listener_->on_error = GSListeneron_error;
|
||||
|
||||
tcp_listener_->bind_address = "0.0.0.0";
|
||||
|
@ -141,7 +141,7 @@ void App::UnInit()
|
||||
f8::App::Instance()->GetPid()});
|
||||
}
|
||||
|
||||
void App::Update()
|
||||
void App::Update(int delta_time)
|
||||
{
|
||||
QuickExecute();
|
||||
SlowerExecute();
|
||||
|
@ -22,7 +22,7 @@ public:
|
||||
virtual const std::string GetPkgName() override;
|
||||
virtual void Init() override;
|
||||
virtual void UnInit() override;
|
||||
virtual void Update() override;
|
||||
virtual void Update(int delta_time) override;
|
||||
virtual bool HasTask() override;
|
||||
virtual void DispatchSocketMsg(f8::MsgHdr* hdr) override;
|
||||
|
||||
|
2
third_party/a8
vendored
2
third_party/a8
vendored
@ -1 +1 @@
|
||||
Subproject commit 56f576e60d471f0390d12172cf2aa499c0772e93
|
||||
Subproject commit 380074e2f78043a71b134c420af20b00127b1967
|
2
third_party/f8
vendored
2
third_party/f8
vendored
@ -1 +1 @@
|
||||
Subproject commit 39cf53ed693b0c6e6d9119c38b894013ac9716e6
|
||||
Subproject commit b172c94f398c782d53a3147250c71e3c0eafe890
|
Loading…
x
Reference in New Issue
Block a user