コード例 #1
0
 public WeaponDef(uint WeaponDefAddress, Suave.Classes.SuaveLib _SuaveLib)
 {
     this.address = WeaponDefAddress;
     this.SuaveLib = _SuaveLib;
     this.xbc = xbc;
 }
コード例 #2
0
 public Client(XDevkit.IXboxConsole Oxbc, uint clientIndex, Suave.Classes.SuaveLib _SuaveLib)
 {
     this.xbc = Oxbc;
     this.clientID = clientIndex;
     this.SuaveLib = _SuaveLib;
 }
コード例 #3
0
 public mpdata(Suave.Classes.SuaveLib _SuaveLib, XDevkit.IXboxConsole _xbc)
 {
     this.SuaveLib = _SuaveLib;
     this.xbc = _xbc;
 }
コード例 #4
0
 public void setText(string Text, float X, float Y, float FontScale, byte AlignOrg, byte AlignScreen, Suave.Classes.SuaveLib.rgba RGBA, float Sort = 1f)
 {
     this.type = 1;
     this.alignOrg = AlignOrg;
     this.alignScreen = AlignScreen;
     this.fontScale = FontScale;
     this.x = X;
     this.y = Y;
     this.color = RGBA.getRGBA();
     this.sort = Sort;
     this.text = this.SuaveLib.G_LocalizedStringIndex(Text);
 }
コード例 #5
0
 public void setShader(string MaterialName, float X, float Y, short Width, short Height, byte AlignOrg, byte AlignScreen, Suave.Classes.SuaveLib.rgba RGBA, float Sort = 0f)
 {
     this.type = 8;
     this.alignOrg = AlignOrg;
     this.alignScreen = AlignScreen;
     this.width = Width;
     this.height = Height;
     this.x = X;
     this.y = Y;
     this.color = RGBA.getRGBA();
     this.sort = Sort;
     this.materialIndex = this.SuaveLib.G_MaterialIndex(MaterialName);
 }
コード例 #6
0
 public void fadeOverTime(Suave.Classes.SuaveLib.rgba FromColor, short FadeTime)
 {
     this.fadeStartTime = this.getLevelTime();
     this.fadeTime = FadeTime;
     this.fromColor = FromColor.getRGBA();
 }
コード例 #7
0
 public HudElem(uint elemAddress, Suave.Classes.SuaveLib _SuaveLib)
 {
     this.elem = elemAddress;
     this.SuaveLib = _SuaveLib;
     this.xbc = xbc;
 }