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

Inheritance: UIButton
Show file 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 property

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

LastPermissions public property

public VMTSOAvatarPermissions LastPermissions
return VMTSOAvatarPermissions

Small public property

public bool Small
return bool

vm public property

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