public SetEffect(WorldEntity Entity, EffectValue GState) : base(0x49) { SetCapacity(5); writer.Write(Entity.WorldId); writer.Write((byte)GState); }
public SetGState(WorldEntity Entity, GStateValue GState) : base(0x3d) { SetCapacity(5); writer.Write(Entity.WorldId); writer.Write((byte)GState); }
public UnequipItem(PlayerItem PlayerItem, WorldEntity Entity) : base(0x06, 10) { writer.Write(Entity.WorldId); writer.Write(PlayerItem.IID); writer.Write((ushort)PlayerItem.Index); }
public virtual void RemoveEntityInView(WorldEntity Entity) { EntitiesInView.Remove(Entity); }
public virtual void AddEntityInView(WorldEntity Entity) { EntitiesInView.Add(Entity); }
public EntityStats(WorldEntity Entity, EntityBaseStats BaseStats) { this.Entity = Entity; this.BaseStats = BaseStats; }
public static void RemoveEntity(WorldEntity Entity) { Entities.Remove(Entity.WorldId); FreeId(Entity.WorldId); }
public static void AddEntity(WorldEntity Entity) { Entity.WorldId = NewId(); Entities.Add(Entity.WorldId, Entity); Entity.UpdateEntitiesInView(true); }