O'Reilly logo

CryENGINE Game Programming with C++, C#, and Lua by Ruan Pearce-Authers, Carl-Filip Lundgren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Networking using game object extensions

Game objects have two methods of communicating over the network: RMIs and network serialization via Aspects. Essentially, RMIs allow for event-based data transmission over the network, whereas an aspect continuously synchronizes data as it is invalidated.

Prior to being able to communicate over the network, each game object has to be bound to the network by using the IGameObject::BindToNetwork function. This can be called from your Init implementation by IGameObjectExtension.

Remote Method Invocation (RMI)

Remote Method Invocation (RMI) is used to invoke functions on a remote client or server. This is very useful for synchronizing a state over the network, for example, to let all clients know that the player ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required