C# Class FSO.Client.UI.Controls.UIPersonIcon

Inheritance: UIButton
Datei anzeigen Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
Avatar FSO.SimAntics.VMAvatar
LastPermissions VMTSOAvatarPermissions
Small bool
vm FSO.SimAntics.VM

Public Methods

Method Description
Draw ( FSO.Client.UI.Framework.UISpriteBatch SBatch ) : void
UIPersonIcon ( FSO.SimAntics.VMAvatar ava, VM vm, bool small ) : System
Update ( UpdateState state ) : void
UpdateAvatarState ( VMTSOAvatarPermissions perm ) : void

Private Methods

Method Description
CenterPerson ( UIElement button ) : void
GetAvatarString ( FSO.SimAntics.VMAvatar ava ) : string

Method Details

Draw() public method

public Draw ( FSO.Client.UI.Framework.UISpriteBatch SBatch ) : void
SBatch FSO.Client.UI.Framework.UISpriteBatch
return void

UIPersonIcon() public method

public UIPersonIcon ( FSO.SimAntics.VMAvatar ava, VM vm, bool small ) : System
ava FSO.SimAntics.VMAvatar
vm FSO.SimAntics.VM
small bool
return System

Update() public method

public Update ( UpdateState state ) : void
state FSO.Common.Rendering.Framework.Model.UpdateState
return void

UpdateAvatarState() public method

public UpdateAvatarState ( VMTSOAvatarPermissions perm ) : void
perm VMTSOAvatarPermissions
return void

Property Details

Avatar public_oe property

public VMAvatar,FSO.SimAntics Avatar
return FSO.SimAntics.VMAvatar

LastPermissions public_oe property

public VMTSOAvatarPermissions LastPermissions
return VMTSOAvatarPermissions

Small public_oe property

public bool Small
return bool

vm public_oe property

public VM,FSO.SimAntics vm
return FSO.SimAntics.VM