Ejemplo n.º 1
0
 public CreateItemResult TryDropToContainer(
     IItemsContainer container,
     DropItemContext context,
     double probabilityMultiplier = 1.0)
 {
     return(ServerDroplistHelper.TryDropToContainer(
                this,
                container,
                probabilityMultiplier,
                context));
 }
Ejemplo n.º 2
0
 public CreateItemResult TryDropToGround(
     Vector2Ushort tilePosition,
     DropItemContext context,
     double probabilityMultiplier = 1.0)
 {
     return(ServerDroplistHelper.TryDropToGround(
                this,
                tilePosition,
                probabilityMultiplier,
                context));
 }
Ejemplo n.º 3
0
 public CreateItemResult TryDropToGround(
     Vector2Ushort tilePosition,
     DropItemContext context,
     [CanBeNull] out IItemsContainer groundContainer,
     double probabilityMultiplier = 1.0)
 {
     return(ServerDroplistHelper.TryDropToGround(
                this,
                tilePosition,
                probabilityMultiplier,
                context,
                out groundContainer));
 }
Ejemplo n.º 4
0
 public CreateItemResult TryDropToCharacter(
     ICharacter character,
     DropItemContext context,
     bool sendNoFreeSpaceNotification = true,
     double probabilityMultiplier     = 1.0)
 {
     return(ServerDroplistHelper.TryDropToCharacter(
                this,
                character,
                sendNoFreeSpaceNotification,
                probabilityMultiplier,
                context));
 }
Ejemplo n.º 5
0
 public CreateItemResult TryDropToCharacterOrGround(
     ICharacter character,
     Vector2Ushort tilePosition,
     DropItemContext context,
     bool sendNotificationWhenDropToGround = true,
     double probabilityMultiplier          = 1.0)
 {
     return(ServerDroplistHelper.TryDropToCharacterOrGround(
                this,
                character,
                tilePosition,
                sendNotificationWhenDropToGround,
                probabilityMultiplier,
                context));
 }