Example #1
0
 public void ArmlteStatusUpdate(PlayerUpdate[] updates)
 {
     _armletDeliveryService.OnArmletStatusUpdate(updates);
 }
Example #2
0
        private void ArmletServiceArmletsStatusUpdate(PlayerUpdate[] obj)
        {
            foreach (var playerStatusUpdate in obj)
            {
                //_armletList.CreateIfNeeded(playerStatusUpdate.ArmletID, CreateArmlet);
                _armletList.UpdateArmlet(playerStatusUpdate);
            }

            OnArmletListUpdated();
        }
Example #3
0
 internal void OnArmletStatusUpdate(PlayerUpdate[] updates)
 {
     var armletsStatusUpdateHandler = ArmletsStatusUpdate;
     if (armletsStatusUpdateHandler != null) armletsStatusUpdateHandler(updates);
 }
Example #4
0
 public void UpdateArmlet(PlayerUpdate playerStatusUpdate)
 {
     var armlet = _armlets[playerStatusUpdate.ArmletID];
     armlet.Update(playerStatusUpdate);
 }
Example #5
0
File: Armlet.cs Project: Kreyl/nute
 public void Update(PlayerUpdate playerStatusUpdate)
 {
     BloodLevel = playerStatusUpdate.NewBlood;
     Room = playerStatusUpdate.NewRoom;
     OnArmletUpdated();
 }
Example #6
0
File: Armlet.cs Project: Kreyl/nute
 public void Update(PlayerUpdate playerStatusUpdate)
 {
     BloodLevel = playerStatusUpdate.NewBlood;
     Room = playerStatusUpdate.NewRoom;
     Toxic = playerStatusUpdate.NewToxin;
     Pulse = playerStatusUpdate.NewPulse;
     Temp = playerStatusUpdate.NewTemp;
     OnArmletUpdated();
 }