public override void HandleMessage(BaseMessage message) { WorldTransferHeaderMessage msg = (WorldTransferHeaderMessage)message; NetWorldReceiver.Receive(msg); if (msg.DimensionHeaders.Count > 0) { //System.Guid aDimension = msg.DimensionHeaders[0].ID; //int index = World.Dimensions.FindIndex(x => x.ID.Equals(aDimension)); //if (index != -1) //{ //World.RaiseChangeCameraDimension(0); //} } }
public override void HandleMessage(BaseMessage message) { WorldTransferBodyMessage msg = (WorldTransferBodyMessage)message; NetWorldReceiver.Receive(msg); }