protected override void ParseMessage(IncomingMessage inMessage) { propertyMap = new PropertyMap(); propertyMap.ParseMessage(inMessage); }
protected override void ParseMessage(IncomingMessage inMessage) { version = inMessage.ReadString(); worldToken = inMessage.ReadBytes(); error = inMessage.ReadString(); int entryCount = inMessage.ReadInt32(); entries = new List<PropertyMap>(); for (int i = 0; i < entryCount; ++i) { PropertyMap entry = new PropertyMap(); entry.OldParseMessage(inMessage); entries.Add(entry); } }
protected override void ParseMessage(IncomingMessage inMessage) { propertyMap = new PropertyMap(); // read the effect name from the message effectName = inMessage.ReadString(); propertyMap.ParseMessage(inMessage); }
protected override void ParseMessage(IncomingMessage inMessage) { newSoundEntries = new Dictionary<string, PropertyMap>(); freeSoundEntries = new List<string>(); clearSounds = false; int numEntries = inMessage.ReadInt32(); for (int i = 0; i < numEntries; ++i) { string msgType = inMessage.ReadString(); switch (msgType) { case "on": { string soundName = inMessage.ReadString(); PropertyMap propertyMap = new PropertyMap(); propertyMap.ParseMessage(inMessage); newSoundEntries[soundName] = propertyMap; } break; case "off": freeSoundEntries.Add(inMessage.ReadString()); break; case "clear": clearSounds = true; break; } } }
protected override void ParseMessage(IncomingMessage inMessage) { byte b = inMessage.ReadByte(); if ((b & 1) != 0) targetOid = inMessage.ReadInt64(); clientTargeted = (b & 2) != 0; propertyMap = new PropertyMap(); propertyMap.ParseMessage(inMessage); }