private void ReceivePersonalLightLevel(IRecvPacket packet) { // int iCreatureID = reader.ReadInt(); // byte iLightLevel = reader.ReadByte(); // 0x00 - day // 0x09 - OSI night // 0x1F - Black // Max normal val = 0x1F PersonalLightLevelPacket p = (PersonalLightLevelPacket)packet; ((WorldView)World.GetView()).Isometric.PersonalLightning = p.LightLevel; }
private void HandlePersonalLightLevelPacket(PersonalLightLevelPacket packet) { this.player.LightLevel = packet.Level; }