public override void Update() { foreach (uint itemID in list.Keys) { IItem item = list[itemID]; if (c_position != null) { c_position.Update(ref item.moveData); } if (c_model != null) { c_model.Update(itemID); } } }
public override void Update() { foreach (uint playerID in list.Keys) { PlayerProduct player = list[playerID]; if (c_position != null) { c_position.Update(ref player.moveData); } if (c_model != null) { c_model.Update(playerID); } if (c_buff != null) { c_buff.Update(); } } }