public void serialize(RbSerializerN serializer, ByteBuffer buffer, Object obje) { RoundEndedEvent evnt = (RoundEndedEvent)obje; serializer.serialize(buffer, evnt.round); serializer.serialize(buffer, evnt.turns); serializer.serialize(buffer, evnt.totalTurns); }
public override void OnRoundEnded(RoundEndedEvent evnt) { Out.WriteLine("RoundEnded!"); }
/// <inheritdoc /> public virtual void OnRoundEnded(RoundEndedEvent evnt) { }
public override void OnRoundEnded(RoundEndedEvent evnt) { publisher.publish(evnt); }