C# Class Server.Multis.BaseHouse

Inheritance: Server.Items.BaseMulti
Mostrar archivo Open project: Grimoric/RunUO.T2A Class Usage Examples

Private Properties

Property Type Description
FixLockdowns_Sandbox void
SetLockdown void
SetLockdown void
SetSecure void
SetSecure void

Public Methods

Method Description
AddCoOwner ( Server.Mobile from, Server.Mobile targ ) : void
AddDoor ( BaseDoor door, int xoff, int yoff, int zoff ) : void
AddEastDoor ( bool wood, int x, int y, int z ) : BaseDoor
AddEastDoor ( int x, int y, int z ) : BaseDoor
AddFriend ( Server.Mobile from, Server.Mobile targ ) : void
AddSecure ( Server.Mobile m, Item item ) : void
AddSouthDoor ( bool wood, int x, int y, int z ) : BaseDoor
AddSouthDoor ( bool wood, int x, int y, int z, uint k ) : BaseDoor
AddSouthDoor ( int x, int y, int z ) : BaseDoor
AddSouthDoor ( int x, int y, int z, uint k ) : BaseDoor
AddSouthDoors ( bool wood, int x, int y, int z, bool inv ) : Server.Items.BaseDoor[]
AddSouthDoors ( bool wood, int x, int y, int z, uint k ) : Server.Items.BaseDoor[]
AddSouthDoors ( int x, int y, int z, uint k ) : Server.Items.BaseDoor[]
AddStrongBox ( Server.Mobile from ) : void
AddTrashBarrel ( Server.Mobile from ) : void
Ban ( Server.Mobile from, Server.Mobile targ ) : void
BaseHouse ( Server.Serial serial ) : System
BaseHouse ( int multiID, Server.Mobile owner, int MaxLockDown, int MaxSecure ) : System
BeginConfirmTransfer ( Server.Mobile from, Server.Mobile to ) : void
ChangeLocks ( Server.Mobile m ) : void
ChangeSignType ( int itemID ) : void
CheckAccessibility ( Item item, Server.Mobile from ) : bool
CheckAccessible ( Server.Mobile m, Item item ) : bool
CheckDecay ( ) : bool
CheckLockedDown ( Item item ) : bool
CheckLockedDownOrSecured ( Item item ) : bool
CheckSecured ( Item item ) : bool
CheckTransferPosition ( Server.Mobile from, Server.Mobile to ) : bool
Configure ( ) : void
CreateKeys ( Server.Mobile m ) : uint
Decay_OnTick ( ) : void
Decay_Sandbox ( ) : void
Deserialize ( Server.GenericReader reader ) : void
FindGuildstone ( ) : Guildstone
FindHouseAt ( Item item ) : BaseHouse
FindHouseAt ( Server.Mobile m ) : BaseHouse
FindHouseAt ( Server.Point3D loc, Server.Map map, int height ) : BaseHouse
GetDeed ( ) : HouseDeed
GetHouseEntities ( ) : List
GetHouses ( Server.Mobile m ) : List
GetItems ( ) : List
GetLockdowns ( ) : int
GetMobiles ( ) : List
GetOldDecayLevel ( ) : DecayLevel
GetSecures ( ) : int
HandleDeletion ( Server.Mobile mob ) : void
HasAccountHouse ( Server.Mobile m ) : bool
HasHouse ( Server.Mobile m ) : bool
InRange ( IPoint2D from, int range ) : bool
IsBanned ( Mobile m ) : bool
IsCoOwner ( Mobile m ) : bool
IsFriend ( Mobile m ) : bool
IsGuildMember ( Mobile m ) : bool
IsInside ( Item item ) : bool
IsInside ( Mobile m ) : bool
IsInside ( Point3D p, int height ) : bool
IsLockedDown ( Item item ) : bool
IsOwner ( Mobile m ) : bool
IsSecure ( Item item ) : bool
IsThereVendor ( Point3D location, Map map, bool &vendor ) : void
Kick ( Mobile from, Mobile targ ) : void
KillVendors ( ) : void
LockDown ( Mobile m, Item item ) : bool
LockDown ( Mobile m, Item item, bool checkIsInside ) : bool
MakeDoor ( bool wood, DoorFacing facing ) : BaseDoor
OnAfterDelete ( ) : void
OnDelete ( ) : void
OnLocationChange ( Point3D oldLocation ) : void
OnMapChange ( ) : void
RefreshDecay ( ) : bool
Release ( Mobile m, Item item ) : void
RemoveBan ( Mobile from, Mobile targ ) : void
RemoveCoOwner ( Mobile from, Mobile targ ) : void
RemoveFriend ( Mobile from, Mobile targ ) : void
RemoveKeys ( Mobile m ) : void
RemoveLocks ( ) : void
Secure ( Mobile m, Item item ) : bool
Secure ( Mobile m, Item item, bool checkIsInside ) : bool
Serialize ( GenericWriter writer ) : void
SetSign ( int xoff, int yoff, int zoff ) : void
UpdateRegion ( ) : void

Private Methods

Method Description
FixLockdowns_Sandbox ( ) : void
SetLockdown ( Item i, bool locked ) : void
SetLockdown ( Item i, bool locked, bool checkContains ) : void
SetSecure ( Item i, bool locked ) : void
SetSecure ( Item i, bool locked, bool checkContains ) : void

Method Details

AddCoOwner() public method

public AddCoOwner ( Server.Mobile from, Server.Mobile targ ) : void
from Server.Mobile
targ Server.Mobile
return void

AddDoor() public method

public AddDoor ( BaseDoor door, int xoff, int yoff, int zoff ) : void
door Server.Items.BaseDoor
xoff int
yoff int
zoff int
return void

AddEastDoor() public method

public AddEastDoor ( bool wood, int x, int y, int z ) : BaseDoor
wood bool
x int
y int
z int
return Server.Items.BaseDoor

AddEastDoor() public method

public AddEastDoor ( int x, int y, int z ) : BaseDoor
x int
y int
z int
return Server.Items.BaseDoor

AddFriend() public method

public AddFriend ( Server.Mobile from, Server.Mobile targ ) : void
from Server.Mobile
targ Server.Mobile
return void

AddSecure() public method

public AddSecure ( Server.Mobile m, Item item ) : void
m Server.Mobile
item Item
return void

AddSouthDoor() public method

public AddSouthDoor ( bool wood, int x, int y, int z ) : BaseDoor
wood bool
x int
y int
z int
return Server.Items.BaseDoor

AddSouthDoor() public method

public AddSouthDoor ( bool wood, int x, int y, int z, uint k ) : BaseDoor
wood bool
x int
y int
z int
k uint
return Server.Items.BaseDoor

AddSouthDoor() public method

public AddSouthDoor ( int x, int y, int z ) : BaseDoor
x int
y int
z int
return Server.Items.BaseDoor

AddSouthDoor() public method

public AddSouthDoor ( int x, int y, int z, uint k ) : BaseDoor
x int
y int
z int
k uint
return Server.Items.BaseDoor

AddSouthDoors() public method

public AddSouthDoors ( bool wood, int x, int y, int z, bool inv ) : Server.Items.BaseDoor[]
wood bool
x int
y int
z int
inv bool
return Server.Items.BaseDoor[]

AddSouthDoors() public method

public AddSouthDoors ( bool wood, int x, int y, int z, uint k ) : Server.Items.BaseDoor[]
wood bool
x int
y int
z int
k uint
return Server.Items.BaseDoor[]

AddSouthDoors() public method

public AddSouthDoors ( int x, int y, int z, uint k ) : Server.Items.BaseDoor[]
x int
y int
z int
k uint
return Server.Items.BaseDoor[]

AddStrongBox() public method

public AddStrongBox ( Server.Mobile from ) : void
from Server.Mobile
return void

AddTrashBarrel() public method

public AddTrashBarrel ( Server.Mobile from ) : void
from Server.Mobile
return void

Ban() public method

public Ban ( Server.Mobile from, Server.Mobile targ ) : void
from Server.Mobile
targ Server.Mobile
return void

BaseHouse() public method

public BaseHouse ( Server.Serial serial ) : System
serial Server.Serial
return System

BaseHouse() public method

public BaseHouse ( int multiID, Server.Mobile owner, int MaxLockDown, int MaxSecure ) : System
multiID int
owner Server.Mobile
MaxLockDown int
MaxSecure int
return System

BeginConfirmTransfer() public method

public BeginConfirmTransfer ( Server.Mobile from, Server.Mobile to ) : void
from Server.Mobile
to Server.Mobile
return void

ChangeLocks() public method

public ChangeLocks ( Server.Mobile m ) : void
m Server.Mobile
return void

ChangeSignType() public method

public ChangeSignType ( int itemID ) : void
itemID int
return void

CheckAccessibility() public method

public CheckAccessibility ( Item item, Server.Mobile from ) : bool
item Item
from Server.Mobile
return bool

CheckAccessible() public static method

public static CheckAccessible ( Server.Mobile m, Item item ) : bool
m Server.Mobile
item Item
return bool

CheckDecay() public method

public CheckDecay ( ) : bool
return bool

CheckLockedDown() public static method

public static CheckLockedDown ( Item item ) : bool
item Item
return bool

CheckLockedDownOrSecured() public static method

public static CheckLockedDownOrSecured ( Item item ) : bool
item Item
return bool

CheckSecured() public static method

public static CheckSecured ( Item item ) : bool
item Item
return bool

CheckTransferPosition() public method

public CheckTransferPosition ( Server.Mobile from, Server.Mobile to ) : bool
from Server.Mobile
to Server.Mobile
return bool

Configure() public static method

public static Configure ( ) : void
return void

CreateKeys() public method

public CreateKeys ( Server.Mobile m ) : uint
m Server.Mobile
return uint

Decay_OnTick() public static method

public static Decay_OnTick ( ) : void
return void

Decay_Sandbox() public method

public Decay_Sandbox ( ) : void
return void

Deserialize() public method

public Deserialize ( Server.GenericReader reader ) : void
reader Server.GenericReader
return void

FindGuildstone() public method

public FindGuildstone ( ) : Guildstone
return Server.Items.Guildstone

FindHouseAt() public static method

public static FindHouseAt ( Item item ) : BaseHouse
item Item
return BaseHouse

FindHouseAt() public static method

public static FindHouseAt ( Server.Mobile m ) : BaseHouse
m Server.Mobile
return BaseHouse

FindHouseAt() public static method

public static FindHouseAt ( Server.Point3D loc, Server.Map map, int height ) : BaseHouse
loc Server.Point3D
map Server.Map
height int
return BaseHouse

GetDeed() public method

public GetDeed ( ) : HouseDeed
return Server.Multis.Deeds.HouseDeed

GetHouseEntities() public method

public GetHouseEntities ( ) : List
return List

GetHouses() public static method

public static GetHouses ( Server.Mobile m ) : List
m Server.Mobile
return List

GetItems() public method

public GetItems ( ) : List
return List

GetLockdowns() public method

public GetLockdowns ( ) : int
return int

GetMobiles() public method

public GetMobiles ( ) : List
return List

GetOldDecayLevel() public method

public GetOldDecayLevel ( ) : DecayLevel
return DecayLevel

GetSecures() public method

public GetSecures ( ) : int
return int

HandleDeletion() public static method

public static HandleDeletion ( Server.Mobile mob ) : void
mob Server.Mobile
return void

HasAccountHouse() public static method

public static HasAccountHouse ( Server.Mobile m ) : bool
m Server.Mobile
return bool

HasHouse() public static method

public static HasHouse ( Server.Mobile m ) : bool
m Server.Mobile
return bool

InRange() public method

public InRange ( IPoint2D from, int range ) : bool
from IPoint2D
range int
return bool

IsBanned() public method

public IsBanned ( Mobile m ) : bool
m Mobile
return bool

IsCoOwner() public method

public IsCoOwner ( Mobile m ) : bool
m Mobile
return bool

IsFriend() public method

public IsFriend ( Mobile m ) : bool
m Mobile
return bool

IsGuildMember() public method

public IsGuildMember ( Mobile m ) : bool
m Mobile
return bool

IsInside() public method

public IsInside ( Item item ) : bool
item Item
return bool

IsInside() public method

public IsInside ( Mobile m ) : bool
m Mobile
return bool

IsInside() public method

public IsInside ( Point3D p, int height ) : bool
p Point3D
height int
return bool

IsLockedDown() public method

public IsLockedDown ( Item item ) : bool
item Item
return bool

IsOwner() public method

public IsOwner ( Mobile m ) : bool
m Mobile
return bool

IsSecure() public method

public IsSecure ( Item item ) : bool
item Item
return bool

IsThereVendor() public static method

public static IsThereVendor ( Point3D location, Map map, bool &vendor ) : void
location Point3D
map Map
vendor bool
return void

Kick() public method

public Kick ( Mobile from, Mobile targ ) : void
from Mobile
targ Mobile
return void

KillVendors() public method

public KillVendors ( ) : void
return void

LockDown() public method

public LockDown ( Mobile m, Item item ) : bool
m Mobile
item Item
return bool

LockDown() public method

public LockDown ( Mobile m, Item item, bool checkIsInside ) : bool
m Mobile
item Item
checkIsInside bool
return bool

MakeDoor() public method

public MakeDoor ( bool wood, DoorFacing facing ) : BaseDoor
wood bool
facing DoorFacing
return BaseDoor

OnAfterDelete() public method

public OnAfterDelete ( ) : void
return void

OnDelete() public method

public OnDelete ( ) : void
return void

OnLocationChange() public method

public OnLocationChange ( Point3D oldLocation ) : void
oldLocation Point3D
return void

OnMapChange() public method

public OnMapChange ( ) : void
return void

RefreshDecay() public method

public RefreshDecay ( ) : bool
return bool

Release() public method

public Release ( Mobile m, Item item ) : void
m Mobile
item Item
return void

RemoveBan() public method

public RemoveBan ( Mobile from, Mobile targ ) : void
from Mobile
targ Mobile
return void

RemoveCoOwner() public method

public RemoveCoOwner ( Mobile from, Mobile targ ) : void
from Mobile
targ Mobile
return void

RemoveFriend() public method

public RemoveFriend ( Mobile from, Mobile targ ) : void
from Mobile
targ Mobile
return void

RemoveKeys() public method

public RemoveKeys ( Mobile m ) : void
m Mobile
return void

RemoveLocks() public method

public RemoveLocks ( ) : void
return void

Secure() public method

public Secure ( Mobile m, Item item ) : bool
m Mobile
item Item
return bool

Secure() public method

public Secure ( Mobile m, Item item, bool checkIsInside ) : bool
m Mobile
item Item
checkIsInside bool
return bool

Serialize() public method

public Serialize ( GenericWriter writer ) : void
writer GenericWriter
return void

SetSign() public method

public SetSign ( int xoff, int yoff, int zoff ) : void
xoff int
yoff int
zoff int
return void

UpdateRegion() public method

public UpdateRegion ( ) : void
return void